@yuhuanowo/yunui 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2251 @@
1
+ /* =====================================================
2
+ YunUI — design system (extracted from Yunxin globals.css)
3
+ Tokens, @theme mapping, global component classes, animations.
4
+ Consume AFTER `@import "tailwindcss";` in your app CSS.
5
+
6
+ Note: `.font-mono` targets 'JetBrains Mono' but YunUI does not load it
7
+ (a remote @import can't sit mid-stylesheet). To get that face, load it in
8
+ your app — e.g. next/font, or `@import` the Google Fonts URL at the very top
9
+ of your own CSS, before `@import "tailwindcss"`.
10
+ ===================================================== */
11
+
12
+ @theme {
13
+ --color-border: var(--border-default);
14
+ --color-input: var(--border-default);
15
+ --color-ring: var(--border-strong);
16
+
17
+ --color-background: var(--bg-base);
18
+ --color-foreground: var(--text-primary);
19
+
20
+ --color-primary: var(--text-primary);
21
+ --color-primary-foreground: var(--bg-base);
22
+
23
+ --color-secondary: var(--bg-glass);
24
+ --color-secondary-foreground: var(--text-secondary);
25
+
26
+ --color-destructive: var(--error);
27
+ --color-destructive-foreground: #ffffff;
28
+
29
+ --color-muted: var(--bg-elevated);
30
+ --color-muted-foreground: var(--text-muted);
31
+
32
+ --color-accent: var(--accent);
33
+ --color-accent-foreground: #ffffff;
34
+
35
+ --color-popover: var(--bg-elevated);
36
+ --color-popover-foreground: var(--text-primary);
37
+
38
+ --color-card: var(--bg-card);
39
+ --color-card-foreground: var(--text-primary);
40
+ }
41
+
42
+ @custom-variant dark (&:where(.dark, .dark *, .true-black, .true-black *));
43
+
44
+ /* =====================================================
45
+ YUNXIN DESIGN SYSTEM v3 (Zinc)
46
+ ===================================================== */
47
+
48
+ :root {
49
+ color-scheme: light;
50
+
51
+ /* Core Colors - Zinc */
52
+ --bg-base: #ffffff;
53
+ --bg-elevated: #f4f4f5;
54
+ --bg-glass: rgba(255, 255, 255, 0.8);
55
+ --bg-glass-hover: rgba(255, 255, 255, 0.95);
56
+ --bg-card: #ffffff;
57
+
58
+ /* Borders */
59
+ --border-hairline: #f4f4f5;
60
+ --border-subtle: #e4e4e7;
61
+ --border-default: #e4e4e7;
62
+ --border-strong: #d4d4d8;
63
+
64
+ /* Text */
65
+ --text-primary: #09090b;
66
+ --text-secondary: #52525b;
67
+ --text-tertiary: #71717a;
68
+ --text-muted: #71717a;
69
+
70
+ /* Accent */
71
+ --accent: #18181b;
72
+ --accent-subtle: #f4f4f5;
73
+ --accent-muted: #e4e4e7;
74
+
75
+ /* Semantic */
76
+ --success: #10b981;
77
+ --warning: #f59e0b;
78
+ --error: #ef4444;
79
+
80
+ /* Code Block */
81
+ --code-bg: #f4f4f5;
82
+ --code-text: #18181b;
83
+ --code-border: #e4e4e7;
84
+ --code-header-bg: #e4e4e7;
85
+ --code-line-number: #a1a1aa;
86
+
87
+ /* Shadows */
88
+ --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
89
+ --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
90
+ --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
91
+ --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
92
+ --shadow-glow: 0 0 20px rgb(0 0 0 / 0.05);
93
+ }
94
+
95
+ /* Dark Mode */
96
+ /* Dark Mode - Zinc (Default Dark) */
97
+ .dark,
98
+ [data-theme="dark"] {
99
+ color-scheme: dark;
100
+
101
+ /* Core Colors - Zinc Dark */
102
+ --bg-base: #09090b;
103
+ --bg-elevated: #18181b;
104
+ --bg-glass: rgba(9, 9, 11, 0.7);
105
+ --bg-glass-hover: rgba(24, 24, 27, 0.8);
106
+ --bg-card: #141417;
107
+
108
+ /* Borders */
109
+ --border-hairline: #27272a;
110
+ --border-subtle: #27272a;
111
+ --border-default: #3f3f46;
112
+ --border-strong: #52525b;
113
+
114
+ /* Text */
115
+ --text-primary: #ffffff;
116
+ --text-secondary: #a1a1aa;
117
+ --text-tertiary: #71717a;
118
+ --text-muted: #52525b;
119
+
120
+ /* Accent */
121
+ --accent: #fafafa;
122
+ --accent-subtle: #27272a;
123
+ --accent-muted: #3f3f46;
124
+
125
+ /* Code Block */
126
+ --code-bg: #1a1a1a;
127
+ --code-text: #e4e4e7;
128
+ --code-border: #27272a;
129
+ --code-header-bg: #27272a;
130
+ --code-line-number: #52525b;
131
+
132
+ /* Shadows - Reduced opacity for cleaner look */
133
+ --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.3);
134
+ --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.3), 0 1px 2px -1px rgb(0 0 0 / 0.3);
135
+ --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
136
+ --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3);
137
+ --shadow-glow: 0 0 30px rgb(255 255 255 / 0.03);
138
+ }
139
+
140
+ /* True Black Mode - OLED Optimized */
141
+ .true-black,
142
+ [data-theme="true-black"] {
143
+ color-scheme: dark;
144
+
145
+ /* Core Colors - True Black */
146
+ --bg-base: #000000;
147
+ --bg-elevated: #000000;
148
+ --bg-glass: rgba(0, 0, 0, 0.8);
149
+ --bg-glass-hover: rgba(20, 20, 20, 0.9);
150
+ --bg-card: #000000;
151
+
152
+ /* High Contrast Borders */
153
+ --border-hairline: #1a1a1a;
154
+ --border-subtle: #262626;
155
+ --border-default: #333333;
156
+ --border-strong: #404040;
157
+
158
+ /* Text - Reduced contrast for eye comfort */
159
+ --text-primary: #d4d4d8;
160
+ --text-secondary: #a1a1aa;
161
+ --text-tertiary: #71717a;
162
+ --text-muted: #52525b;
163
+
164
+ /* Accent - Softer white */
165
+ --accent: #d4d4d8;
166
+ --accent-subtle: #1a1a1a;
167
+ --accent-muted: #27272a;
168
+
169
+ /* Code Block - True Black */
170
+ --code-bg: #0a0a0a;
171
+ --code-text: #d4d4d8;
172
+ --code-border: #1a1a1a;
173
+ --code-header-bg: #1a1a1a;
174
+ --code-line-number: #52525b;
175
+
176
+ /* Shadows - Minimal for flat look */
177
+ --shadow-xs: 0 0 0 1px #333;
178
+ --shadow-sm: 0 0 0 1px #333;
179
+ --shadow-md: 0 0 0 1px #333;
180
+ --shadow-lg: 0 0 0 1px #333;
181
+ --shadow-glow: none;
182
+
183
+ /* Fumadocs — True Black overrides */
184
+ --color-fd-background: #000000;
185
+ --color-fd-foreground: #d4d4d8;
186
+ --color-fd-muted: #111111;
187
+ --color-fd-muted-foreground: rgba(161, 161, 170, 0.8);
188
+ --color-fd-popover: #141414;
189
+ --color-fd-popover-foreground: #d4d4d8;
190
+ --color-fd-card: #0a0a0a;
191
+ --color-fd-card-foreground: #d4d4d8;
192
+ --color-fd-border: rgba(255, 255, 255, 0.08);
193
+ --color-fd-primary: #d4d4d8;
194
+ --color-fd-primary-foreground: #000000;
195
+ --color-fd-secondary: #111111;
196
+ --color-fd-secondary-foreground: #d4d4d8;
197
+ --color-fd-accent: rgba(255, 255, 255, 0.06);
198
+ --color-fd-accent-foreground: #d4d4d8;
199
+ --color-fd-ring: #404040;
200
+ --color-fd-overlay: rgba(0, 0, 0, 0.7);
201
+ }
202
+
203
+ /* True Black — Fumadocs sidebar overrides */
204
+ .true-black #nd-sidebar {
205
+ --color-fd-muted: #111111;
206
+ --color-fd-secondary: #111111;
207
+ --color-fd-muted-foreground: #a1a1aa;
208
+ }
209
+
210
+ /* True Black — AI Chat Panel */
211
+ .true-black [data-ai-chat-panel] {
212
+ --color-fd-background: #000000;
213
+ --color-fd-muted: #0a0a0a;
214
+ --color-fd-border: rgba(255, 255, 255, 0.08);
215
+ }
216
+
217
+ /* True Black — Fumadocs shiki code block */
218
+ .true-black .shiki:not(.not-fumadocs-codeblock *) {
219
+ code span {
220
+ color: var(--shiki-dark);
221
+ font-style: var(--shiki-dark-font-style);
222
+ }
223
+ }
224
+
225
+ /* True Black - Override hardcoded white colors for reduced eye strain */
226
+ .true-black .text-white {
227
+ color: #d4d4d8 !important;
228
+ }
229
+
230
+ .true-black .bg-white {
231
+ background-color: #d4d4d8 !important;
232
+ }
233
+
234
+ /* White with opacity - use attribute selector for all opacity variants */
235
+ .true-black [class*="text-white/"] {
236
+ color: #d4d4d8 !important;
237
+ }
238
+
239
+ /* Specific opacity variants with alpha channel */
240
+ .true-black .text-white\/90 {
241
+ color: rgba(212, 212, 216, 0.9) !important;
242
+ }
243
+
244
+ .true-black .text-white\/80 {
245
+ color: rgba(212, 212, 216, 0.8) !important;
246
+ }
247
+
248
+ .true-black .text-white\/70 {
249
+ color: rgba(212, 212, 216, 0.7) !important;
250
+ }
251
+
252
+ .true-black .text-white\/60 {
253
+ color: rgba(212, 212, 216, 0.6) !important;
254
+ }
255
+
256
+ .true-black .text-white\/50 {
257
+ color: rgba(212, 212, 216, 0.5) !important;
258
+ }
259
+
260
+ .true-black .text-white\/40 {
261
+ color: rgba(212, 212, 216, 0.4) !important;
262
+ }
263
+
264
+ .true-black .text-white\/30 {
265
+ color: rgba(212, 212, 216, 0.3) !important;
266
+ }
267
+
268
+ .true-black .text-white\/20 {
269
+ color: rgba(212, 212, 216, 0.2) !important;
270
+ }
271
+
272
+ .true-black .text-white\/10 {
273
+ color: rgba(212, 212, 216, 0.15) !important;
274
+ }
275
+
276
+ .true-black .text-white\/5 {
277
+ color: rgba(212, 212, 216, 0.1) !important;
278
+ }
279
+
280
+ .true-black [class*="bg-white/"] {
281
+ background-color: #d4d4d8 !important;
282
+ }
283
+
284
+ /* Specific bg opacity variants */
285
+ .true-black .bg-white\/90 {
286
+ background-color: rgba(212, 212, 216, 0.9) !important;
287
+ }
288
+
289
+ .true-black .bg-white\/50 {
290
+ background-color: rgba(212, 212, 216, 0.5) !important;
291
+ }
292
+
293
+ .true-black .bg-white\/10 {
294
+ background-color: rgba(212, 212, 216, 0.1) !important;
295
+ }
296
+
297
+ .true-black .bg-white\/5 {
298
+ background-color: rgba(212, 212, 216, 0.05) !important;
299
+ }
300
+
301
+ .true-black [class*="border-white/"] {
302
+ border-color: rgba(212, 212, 216, 0.15) !important;
303
+ }
304
+
305
+ /* SVG icons with white color */
306
+ .true-black svg.text-white,
307
+ .true-black svg[class*="text-white"] {
308
+ color: #d4d4d8 !important;
309
+ }
310
+
311
+ /* Ring offset white */
312
+ .true-black .ring-offset-white {
313
+ --tw-ring-offset-color: #d4d4d8 !important;
314
+ }
315
+
316
+ /* Shadow with white */
317
+ .true-black [class*="shadow-white"] {
318
+ --tw-shadow-color: rgba(212, 212, 216, 0.2) !important;
319
+ }
320
+
321
+ /* Gradient backgrounds for True Black */
322
+ .true-black .from-gray-900 {
323
+ --tw-gradient-from: #1a1a1a !important;
324
+ }
325
+
326
+ .true-black .to-gray-800 {
327
+ --tw-gradient-to: #0a0a0a !important;
328
+ }
329
+
330
+ /* Shimmer effect */
331
+ .true-black .via-white\/20 {
332
+ --tw-gradient-via: rgba(212, 212, 216, 0.1) !important;
333
+ }
334
+
335
+ .true-black [class*="via-white"] {
336
+ --tw-gradient-via: rgba(212, 212, 216, 0.15) !important;
337
+ }
338
+
339
+ /* System dark mode is handled by .dark class through ThemeProvider */
340
+
341
+ /* =====================================================
342
+ Base
343
+ ===================================================== */
344
+
345
+ body {
346
+ -webkit-font-smoothing: antialiased;
347
+ -moz-osx-font-smoothing: grayscale;
348
+ }
349
+
350
+ /* Scrollbar */
351
+ ::-webkit-scrollbar {
352
+ width: 6px;
353
+ height: 6px;
354
+ }
355
+
356
+ /* Hide scrollbar utility */
357
+ .scrollbar-hide {
358
+ -ms-overflow-style: none;
359
+ scrollbar-width: none;
360
+ }
361
+
362
+ .scrollbar-hide::-webkit-scrollbar {
363
+ display: none;
364
+ }
365
+
366
+ ::-webkit-scrollbar-track {
367
+ background: transparent;
368
+ }
369
+
370
+ ::-webkit-scrollbar-thumb {
371
+ background: rgba(0, 0, 0, 0.1);
372
+ border-radius: 3px;
373
+ }
374
+
375
+ ::-webkit-scrollbar-thumb:hover {
376
+ background: rgba(0, 0, 0, 0.18);
377
+ }
378
+
379
+ /* =====================================================
380
+ Glass Components
381
+ ===================================================== */
382
+
383
+ .glass {
384
+ background: var(--bg-glass);
385
+ backdrop-filter: blur(20px) saturate(180%);
386
+ -webkit-backdrop-filter: blur(20px) saturate(180%);
387
+ border: 1px solid var(--border-subtle);
388
+ }
389
+
390
+ .glass-panel {
391
+ background: var(--bg-elevated);
392
+ backdrop-filter: blur(24px) saturate(180%);
393
+ -webkit-backdrop-filter: blur(24px) saturate(180%);
394
+ border: 1px solid var(--border-hairline);
395
+ box-shadow: var(--shadow-sm);
396
+ }
397
+
398
+ .glass-card {
399
+ background: rgba(255, 255, 255, 0.6);
400
+ backdrop-filter: blur(16px);
401
+ -webkit-backdrop-filter: blur(16px);
402
+ border: 1px solid var(--border-subtle);
403
+ border-radius: 16px;
404
+ transition: all 0.2s ease;
405
+ }
406
+
407
+ .glass-card:hover {
408
+ background: var(--bg-glass-hover);
409
+ border-color: var(--border-default);
410
+ box-shadow: var(--shadow-md);
411
+ }
412
+
413
+ .glass-dark {
414
+ background: rgba(10, 10, 12, 0.6);
415
+ backdrop-filter: blur(24px) saturate(150%);
416
+ -webkit-backdrop-filter: blur(24px) saturate(150%);
417
+ border: 1px solid rgba(255, 255, 255, 0.08);
418
+ color: #fff;
419
+ box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
420
+ }
421
+
422
+ [data-theme="true-black"] .glass-dark,
423
+ .true-black .glass-dark {
424
+ background: rgba(0, 0, 0, 0.7);
425
+ border: 1px solid rgba(255, 255, 255, 0.15);
426
+ }
427
+
428
+ /* =====================================================
429
+ Cards
430
+ ===================================================== */
431
+
432
+ .card {
433
+ background: var(--bg-card);
434
+ border: 1px solid var(--border-hairline);
435
+ border-radius: 16px;
436
+ box-shadow: var(--shadow-xs);
437
+ transition: all 0.15s ease;
438
+ }
439
+
440
+ .card:hover {
441
+ border-color: var(--border-default);
442
+ box-shadow: var(--shadow-sm);
443
+ }
444
+
445
+ .card-interactive {
446
+ cursor: pointer;
447
+ }
448
+
449
+ .card-interactive:hover {
450
+ transform: translateY(-1px);
451
+ box-shadow: var(--shadow-md);
452
+ }
453
+
454
+ .stat-card {
455
+ background: var(--bg-card);
456
+ backdrop-filter: blur(12px);
457
+ -webkit-backdrop-filter: blur(12px);
458
+ border: 1px solid var(--border-hairline);
459
+ border-radius: 20px;
460
+ }
461
+
462
+ /* =====================================================
463
+ Typography
464
+ ===================================================== */
465
+
466
+ .heading-xl {
467
+ font-size: 2rem;
468
+ font-weight: 600;
469
+ line-height: 1.15;
470
+ letter-spacing: -0.025em;
471
+ }
472
+
473
+ .heading-lg {
474
+ font-size: 1.5rem;
475
+ font-weight: 600;
476
+ line-height: 1.2;
477
+ letter-spacing: -0.02em;
478
+ }
479
+
480
+ .heading-md {
481
+ font-size: 1.125rem;
482
+ font-weight: 600;
483
+ line-height: 1.3;
484
+ letter-spacing: -0.015em;
485
+ }
486
+
487
+ .text-body {
488
+ font-size: 0.9375rem;
489
+ line-height: 1.5;
490
+ color: var(--text-secondary);
491
+ }
492
+
493
+ .text-caption {
494
+ font-size: 0.8125rem;
495
+ line-height: 1.4;
496
+ color: var(--text-tertiary);
497
+ }
498
+
499
+ .text-label {
500
+ font-size: 0.6875rem;
501
+ font-weight: 600;
502
+ letter-spacing: 0.04em;
503
+ text-transform: uppercase;
504
+ color: var(--text-muted);
505
+ }
506
+
507
+ .font-mono {
508
+ font-family: 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;
509
+ }
510
+
511
+ /* =====================================================
512
+ Buttons - Modern Outline Style
513
+ ===================================================== */
514
+
515
+ .btn {
516
+ display: inline-flex;
517
+ align-items: center;
518
+ justify-content: center;
519
+ gap: 0.5rem;
520
+ font-weight: 500;
521
+ font-size: 0.875rem;
522
+ border-radius: 12px;
523
+ padding: 0.625rem 1.125rem;
524
+ transition: all 0.15s ease;
525
+ cursor: pointer;
526
+ outline: none;
527
+ border: 1px solid;
528
+ }
529
+
530
+ /* Primary - dark outline with subtle bg */
531
+ .btn-primary {
532
+ color: #09090b;
533
+ border-color: #09090b;
534
+ background: rgba(9, 9, 11, 0.04);
535
+ }
536
+
537
+ .btn-primary:hover {
538
+ background: rgba(9, 9, 11, 0.08);
539
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
540
+ }
541
+
542
+ /* Secondary - gray outline */
543
+ .btn-secondary {
544
+ color: #52525b;
545
+ border-color: #d4d4d8;
546
+ background: rgba(0, 0, 0, 0.02);
547
+ }
548
+
549
+ .btn-secondary:hover {
550
+ color: #09090b;
551
+ background: rgba(0, 0, 0, 0.04);
552
+ border-color: #a1a1aa;
553
+ }
554
+
555
+ /* Ghost - minimal, no border */
556
+ .btn-ghost {
557
+ color: #71717a;
558
+ border: none;
559
+ padding: 0.5rem 0.75rem;
560
+ background: transparent;
561
+ }
562
+
563
+ .btn-ghost:hover {
564
+ color: #09090b;
565
+ background: rgba(0, 0, 0, 0.04);
566
+ }
567
+
568
+ /* Accent - colored outline */
569
+ .btn-accent {
570
+ color: #18181b;
571
+ border-color: #18181b;
572
+ background: rgba(24, 24, 27, 0.04);
573
+ }
574
+
575
+ .btn-accent:hover {
576
+ background: rgba(24, 24, 27, 0.08);
577
+ }
578
+
579
+ /* Outline - minimal border */
580
+ .btn-outline {
581
+ color: #09090b;
582
+ border-color: #e4e4e7;
583
+ background: transparent;
584
+ }
585
+
586
+ .btn-outline:hover {
587
+ background: rgba(0, 0, 0, 0.03);
588
+ border-color: #d4d4d8;
589
+ }
590
+
591
+ /* Amber - warning */
592
+ .btn-amber {
593
+ color: #b45309;
594
+ border-color: #f59e0b;
595
+ background: rgba(245, 158, 11, 0.08);
596
+ }
597
+
598
+ .btn-amber:hover {
599
+ background: rgba(245, 158, 11, 0.15);
600
+ }
601
+
602
+ /* Red - danger */
603
+ .btn-red {
604
+ color: #b91c1c;
605
+ border-color: #ef4444;
606
+ background: rgba(239, 68, 68, 0.08);
607
+ }
608
+
609
+ .btn-red:hover {
610
+ background: rgba(239, 68, 68, 0.15);
611
+ }
612
+
613
+ /* Sizes */
614
+ .btn-sm {
615
+ padding: 0.375rem 0.75rem;
616
+ font-size: 0.8125rem;
617
+ border-radius: 9px;
618
+ gap: 0.375rem;
619
+ }
620
+
621
+ .btn-lg {
622
+ padding: 0.875rem 1.5rem;
623
+ font-size: 1rem;
624
+ border-radius: 14px;
625
+ }
626
+
627
+ .btn:disabled {
628
+ opacity: 0.5;
629
+ cursor: not-allowed;
630
+ pointer-events: none;
631
+ }
632
+
633
+ /* =====================================================
634
+ Dark Mode Buttons
635
+ ===================================================== */
636
+
637
+ .dark .btn-primary,
638
+ .true-black .btn-primary {
639
+ color: #fafafa;
640
+ border-color: #fafafa;
641
+ background: rgba(250, 250, 250, 0.06);
642
+ }
643
+
644
+ .dark .btn-primary:hover,
645
+ .true-black .btn-primary:hover {
646
+ background: rgba(250, 250, 250, 0.12);
647
+ box-shadow: 0 1px 2px rgba(255, 255, 255, 0.05);
648
+ }
649
+
650
+ .dark .btn-secondary,
651
+ .true-black .btn-secondary {
652
+ color: #d4d4d8;
653
+ border-color: #52525b;
654
+ background: rgba(255, 255, 255, 0.03);
655
+ }
656
+
657
+ .dark .btn-secondary:hover,
658
+ .true-black .btn-secondary:hover {
659
+ color: #fafafa;
660
+ background: rgba(255, 255, 255, 0.08);
661
+ border-color: #71717a;
662
+ }
663
+
664
+ .dark .btn-ghost:hover,
665
+ .true-black .btn-ghost:hover {
666
+ color: #fafafa;
667
+ background: rgba(255, 255, 255, 0.08);
668
+ }
669
+
670
+ .dark .btn-accent,
671
+ .true-black .btn-accent {
672
+ color: #fafafa;
673
+ border-color: #fafafa;
674
+ background: rgba(255, 255, 255, 0.05);
675
+ }
676
+
677
+ .dark .btn-accent:hover,
678
+ .true-black .btn-accent:hover {
679
+ background: rgba(255, 255, 255, 0.1);
680
+ }
681
+
682
+ .dark .btn-outline,
683
+ .true-black .btn-outline {
684
+ color: #fafafa;
685
+ border-color: #52525b;
686
+ }
687
+
688
+ .dark .btn-outline:hover,
689
+ .true-black .btn-outline:hover {
690
+ background: rgba(255, 255, 255, 0.05);
691
+ border-color: #71717a;
692
+ }
693
+
694
+ .dark .btn-amber,
695
+ .true-black .btn-amber {
696
+ color: #fbbf24;
697
+ border-color: #f59e0b;
698
+ background: rgba(251, 191, 36, 0.12);
699
+ }
700
+
701
+ .dark .btn-amber:hover,
702
+ .true-black .btn-amber:hover {
703
+ background: rgba(251, 191, 36, 0.2);
704
+ }
705
+
706
+ .dark .btn-red,
707
+ .true-black .btn-red {
708
+ color: #f87171;
709
+ border-color: #ef4444;
710
+ background: rgba(248, 113, 113, 0.12);
711
+ }
712
+
713
+ .dark .btn-red:hover,
714
+ .true-black .btn-red:hover {
715
+ background: rgba(248, 113, 113, 0.2);
716
+ }
717
+
718
+ /* =====================================================
719
+ Select Dropdowns
720
+ ===================================================== */
721
+
722
+ select.input,
723
+ .select {
724
+ appearance: none;
725
+ -webkit-appearance: none;
726
+ -moz-appearance: none;
727
+ background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
728
+ background-repeat: no-repeat;
729
+ background-position: right 0.75rem center;
730
+ background-size: 1rem;
731
+ padding-right: 2.5rem;
732
+ cursor: pointer;
733
+ }
734
+
735
+ select.input:focus,
736
+ .select:focus {
737
+ outline: none;
738
+ border-color: var(--border-strong);
739
+ box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.03);
740
+ }
741
+
742
+ select.input option,
743
+ .select option {
744
+ background: var(--bg-card);
745
+ color: var(--text-primary);
746
+ padding: 0.5rem;
747
+ }
748
+
749
+ .dark select.input,
750
+ .true-black select.input,
751
+ .dark .select,
752
+ .true-black .select {
753
+ background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
754
+ }
755
+
756
+ .dark select.input:focus,
757
+ .true-black select.input:focus,
758
+ .dark .select:focus,
759
+ .true-black .select:focus {
760
+ box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
761
+ }
762
+
763
+ /* =====================================================
764
+ Inputs
765
+ ===================================================== */
766
+
767
+ .input {
768
+ width: 100%;
769
+ padding: 0.5rem 0.75rem;
770
+ background: var(--bg-glass);
771
+ border: 1px solid var(--border-default);
772
+ border-radius: 12px;
773
+ font-size: 0.875rem;
774
+ color: var(--text-primary);
775
+ outline: none;
776
+ transition: all 0.15s ease;
777
+ }
778
+
779
+ .input::placeholder {
780
+ color: var(--text-muted);
781
+ }
782
+
783
+ .input:focus {
784
+ border-color: var(--border-strong);
785
+ box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.03);
786
+ }
787
+
788
+ .input-glass {
789
+ background: var(--bg-glass);
790
+ backdrop-filter: blur(8px);
791
+ -webkit-backdrop-filter: blur(8px);
792
+ }
793
+
794
+ /* =====================================================
795
+ Badges
796
+ ===================================================== */
797
+
798
+ .badge {
799
+ display: inline-flex;
800
+ align-items: center;
801
+ gap: 0.25rem;
802
+ padding: 0.25rem 0.625rem;
803
+ font-size: 0.6875rem;
804
+ font-weight: 500;
805
+ border-radius: 6px;
806
+ background: var(--bg-glass-hover);
807
+ color: var(--text-secondary);
808
+ }
809
+
810
+ .badge-accent {
811
+ background: var(--accent-subtle);
812
+ color: var(--accent);
813
+ }
814
+
815
+ .badge-success {
816
+ background: rgba(16, 185, 129, 0.1);
817
+ color: var(--success);
818
+ }
819
+
820
+ .badge-warning {
821
+ background: rgba(245, 158, 11, 0.1);
822
+ color: var(--warning);
823
+ }
824
+
825
+ .badge-error {
826
+ background: rgba(239, 68, 68, 0.1);
827
+ color: var(--error);
828
+ }
829
+
830
+ .badge-info {
831
+ background: rgba(59, 130, 246, 0.1);
832
+ color: #3b82f6;
833
+ }
834
+
835
+ /* Semantic status text — canonical target for inline status colour, so
836
+ components stop hand-rolling `text-emerald-600 dark:text-emerald-400`. */
837
+ .text-success {
838
+ color: var(--success);
839
+ }
840
+
841
+ .text-warning {
842
+ color: var(--warning);
843
+ }
844
+
845
+ .text-error {
846
+ color: var(--error);
847
+ }
848
+
849
+ .text-info {
850
+ color: #3b82f6;
851
+ }
852
+
853
+ .badge-neutral {
854
+ background: var(--bg-glass-hover);
855
+ color: var(--text-secondary);
856
+ }
857
+
858
+ /* =====================================================
859
+ Navigation
860
+ ===================================================== */
861
+
862
+ .nav-item {
863
+ position: relative;
864
+ display: flex;
865
+ align-items: center;
866
+ gap: 0.75rem;
867
+ padding: 0.625rem 0.875rem;
868
+ padding-left: 1.25rem;
869
+ font-size: 0.875rem;
870
+ font-weight: 500;
871
+ color: var(--text-tertiary);
872
+ border-radius: 10px;
873
+ transition: all 0.12s ease;
874
+ white-space: nowrap;
875
+ }
876
+
877
+ .nav-item > span {
878
+ overflow: hidden;
879
+ text-overflow: ellipsis;
880
+ min-width: 0;
881
+ }
882
+
883
+ .nav-item::before {
884
+ content: '';
885
+ position: absolute;
886
+ left: 0.5rem;
887
+ top: 50%;
888
+ transform: translateY(-50%) translateX(-10px);
889
+ width: 3px;
890
+ height: 16px;
891
+ background: var(--text-primary);
892
+ border-radius: 2px;
893
+ transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
894
+ opacity: 0;
895
+ }
896
+
897
+ .nav-item:hover {
898
+ color: var(--text-primary);
899
+ background: rgba(0, 0, 0, 0.03);
900
+ }
901
+
902
+ .nav-item:hover::before {
903
+ transform: translateY(-50%) translateX(0);
904
+ opacity: 0.3;
905
+ }
906
+
907
+ .nav-item.active {
908
+ color: var(--text-primary);
909
+ }
910
+
911
+ .nav-item.active::before {
912
+ transform: translateY(-50%) translateX(0);
913
+ opacity: 1;
914
+ height: 18px;
915
+ }
916
+
917
+ .nav-section {
918
+ font-size: 0.625rem;
919
+ font-weight: 600;
920
+ letter-spacing: 0.08em;
921
+ text-transform: uppercase;
922
+ color: var(--text-muted);
923
+ padding: 1rem 0.875rem 0.5rem;
924
+ }
925
+
926
+ /* Horizontal tab — a blend of the sidebar and the homepage navbar.
927
+ Hover raises a soft rounded "floating box" (懸浮框) plus a faint underline
928
+ (懸浮條), like the sidebar's hover state. A single .nav-tab-indicator slides
929
+ and resizes left↔right to the active tab, like the navbar's moving bar. */
930
+ .nav-tab {
931
+ position: relative;
932
+ display: inline-flex;
933
+ align-items: center;
934
+ gap: 0.5rem;
935
+ padding: 0.45rem 0.9rem 0.6rem;
936
+ font-size: 0.875rem;
937
+ font-weight: 500;
938
+ color: var(--text-tertiary);
939
+ background: transparent;
940
+ border-radius: 10px;
941
+ transition: color 0.15s ease, background 0.15s ease;
942
+ white-space: nowrap;
943
+ cursor: pointer;
944
+ }
945
+
946
+ /* 條 — short centered bar inside the tab's box near the bottom. Its width is a
947
+ proportion of the tab (40%), so it scales with each tab while staying small,
948
+ and grows in (navbar-style) on hover/active. */
949
+ .nav-tab::after {
950
+ content: '';
951
+ position: absolute;
952
+ left: 50%;
953
+ bottom: 0.34rem;
954
+ transform: translateX(-50%);
955
+ height: 2.5px;
956
+ width: 0;
957
+ background: var(--text-primary);
958
+ border-radius: 9999px;
959
+ opacity: 0;
960
+ transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
961
+ }
962
+
963
+ /* 匡 — soft filled rounded box appears ONLY on hover (like the sidebar). The
964
+ active tab itself just brightens + bolds its text and shows the bar, with no
965
+ persistent background. */
966
+ .nav-tab:hover {
967
+ color: var(--text-primary);
968
+ background: var(--accent-subtle);
969
+ }
970
+
971
+ .nav-tab:hover::after {
972
+ width: 24%;
973
+ opacity: 0.4;
974
+ }
975
+
976
+ .nav-tab.active {
977
+ color: var(--text-primary);
978
+ font-weight: 600;
979
+ }
980
+
981
+ .nav-tab.active::after {
982
+ width: 40%;
983
+ opacity: 1;
984
+ }
985
+
986
+ /* When the active tab is also hovered, keep its bar full-size (not the faint
987
+ hover width). */
988
+ .nav-tab.active:hover::after {
989
+ width: 40%;
990
+ opacity: 1;
991
+ }
992
+
993
+ /* =====================================================
994
+ Code
995
+ ===================================================== */
996
+
997
+ .code-block {
998
+ background: var(--code-bg);
999
+ border: 1px solid var(--code-border);
1000
+ border-radius: 12px;
1001
+ font-family: 'JetBrains Mono', monospace;
1002
+ font-size: 0.8125rem;
1003
+ overflow: hidden;
1004
+ }
1005
+
1006
+ .code-block pre {
1007
+ padding: 1rem;
1008
+ color: var(--code-text);
1009
+ overflow-x: auto;
1010
+ }
1011
+
1012
+ .code-inline {
1013
+ padding: 0.125rem 0.375rem;
1014
+ background: var(--code-bg);
1015
+ border: 1px solid var(--code-border);
1016
+ border-radius: 4px;
1017
+ font-family: 'JetBrains Mono', monospace;
1018
+ font-size: 0.8125rem;
1019
+ color: var(--code-text);
1020
+ }
1021
+
1022
+ /* =====================================================
1023
+ Animations
1024
+ ===================================================== */
1025
+
1026
+ @keyframes fadeIn {
1027
+ from {
1028
+ opacity: 0;
1029
+ transform: translateY(8px);
1030
+ }
1031
+
1032
+ to {
1033
+ opacity: 1;
1034
+ transform: translateY(0);
1035
+ }
1036
+ }
1037
+
1038
+ @keyframes fadeInScale {
1039
+ from {
1040
+ opacity: 0;
1041
+ transform: scale(0.97);
1042
+ }
1043
+
1044
+ to {
1045
+ opacity: 1;
1046
+ transform: scale(1);
1047
+ }
1048
+ }
1049
+
1050
+ @keyframes slideIn {
1051
+ from {
1052
+ opacity: 0;
1053
+ transform: translateX(-8px);
1054
+ }
1055
+
1056
+ to {
1057
+ opacity: 1;
1058
+ transform: translateX(0);
1059
+ }
1060
+ }
1061
+
1062
+ @keyframes shimmer {
1063
+ 0% {
1064
+ background-position: -200% 0;
1065
+ }
1066
+
1067
+ 100% {
1068
+ background-position: 200% 0;
1069
+ }
1070
+ }
1071
+
1072
+ .animate-enter {
1073
+ opacity: 0;
1074
+ animation: fadeIn 0.3s ease forwards;
1075
+ }
1076
+
1077
+ .animate-fade {
1078
+ animation: fadeInScale 0.2s ease forwards;
1079
+ }
1080
+
1081
+ .animate-slide {
1082
+ animation: slideIn 0.2s ease forwards;
1083
+ }
1084
+
1085
+ .skeleton {
1086
+ background: linear-gradient(90deg, rgba(0, 0, 0, 0.04) 25%, rgba(0, 0, 0, 0.08) 50%, rgba(0, 0, 0, 0.04) 75%);
1087
+ background-size: 200% 100%;
1088
+ animation: shimmer 1.5s infinite;
1089
+ border-radius: 6px;
1090
+ }
1091
+
1092
+ @keyframes float {
1093
+
1094
+ 0%,
1095
+ 100% {
1096
+ transform: translateY(0px);
1097
+ }
1098
+
1099
+ 50% {
1100
+ transform: translateY(-10px);
1101
+ }
1102
+ }
1103
+
1104
+ /* Stagger delays */
1105
+ .delay-1 {
1106
+ animation-delay: 50ms;
1107
+ }
1108
+
1109
+ .delay-2 {
1110
+ animation-delay: 100ms;
1111
+ }
1112
+
1113
+ .delay-3 {
1114
+ animation-delay: 150ms;
1115
+ }
1116
+
1117
+ .delay-4 {
1118
+ animation-delay: 200ms;
1119
+ }
1120
+
1121
+ .delay-5 {
1122
+ animation-delay: 250ms;
1123
+ }
1124
+
1125
+ /* =====================================================
1126
+ Utilities
1127
+ ===================================================== */
1128
+
1129
+ .focus-ring:focus {
1130
+ outline: none;
1131
+ box-shadow: 0 0 0 2px var(--bg-base), 0 0 0 4px rgba(0, 0, 0, 0.08);
1132
+ }
1133
+
1134
+ .divide-hairline>*+* {
1135
+ border-top: 1px solid var(--border-hairline);
1136
+ }
1137
+
1138
+ .hover-lift {
1139
+ transition: transform 0.15s ease;
1140
+ }
1141
+
1142
+ .hover-lift:hover {
1143
+ transform: translateY(-2px);
1144
+ }
1145
+
1146
+ ::selection {
1147
+ background: var(--accent-muted);
1148
+ color: var(--text-primary);
1149
+ }
1150
+
1151
+ /* Accent dot indicator */
1152
+ .dot-indicator {
1153
+ width: 6px;
1154
+ height: 6px;
1155
+ border-radius: 50%;
1156
+ background: var(--success);
1157
+ }
1158
+
1159
+ .dot-indicator.inactive {
1160
+ background: var(--text-muted);
1161
+ }
1162
+
1163
+ /* =====================================================
1164
+ Theme-Aware Utility Classes
1165
+ ===================================================== */
1166
+
1167
+ /* Background utilities - use instead of bg-black/bg-white */
1168
+ .bg-surface {
1169
+ background-color: var(--bg-card);
1170
+ }
1171
+
1172
+ .bg-surface-elevated {
1173
+ background-color: var(--bg-elevated);
1174
+ }
1175
+
1176
+ .bg-surface-hover {
1177
+ background-color: var(--accent-subtle);
1178
+ }
1179
+
1180
+ .bg-surface-active {
1181
+ background-color: var(--accent-muted);
1182
+ }
1183
+
1184
+ .bg-overlay {
1185
+ background-color: rgba(0, 0, 0, 0.5);
1186
+ }
1187
+
1188
+ .dark .bg-overlay,
1189
+ .true-black .bg-overlay {
1190
+ background-color: rgba(0, 0, 0, 0.7);
1191
+ }
1192
+
1193
+ /* Foreground/accent backgrounds - replaces bg-black */
1194
+ .bg-accent-solid {
1195
+ background-color: var(--accent);
1196
+ }
1197
+
1198
+ .bg-accent-subtle {
1199
+ background-color: var(--accent-subtle);
1200
+ }
1201
+
1202
+ .bg-accent-muted {
1203
+ background-color: var(--accent-muted);
1204
+ }
1205
+
1206
+ /* Text utilities - use instead of text-black */
1207
+ .text-default {
1208
+ color: var(--text-primary);
1209
+ }
1210
+
1211
+ .text-subtle {
1212
+ color: var(--text-secondary);
1213
+ }
1214
+
1215
+ .text-muted {
1216
+ color: var(--text-muted);
1217
+ }
1218
+
1219
+ .text-inverted {
1220
+ color: var(--bg-base);
1221
+ }
1222
+
1223
+ /* Border utilities */
1224
+ .border-default {
1225
+ border-color: var(--border-default);
1226
+ }
1227
+
1228
+ .border-subtle {
1229
+ border-color: var(--border-subtle);
1230
+ }
1231
+
1232
+ .border-strong {
1233
+ border-color: var(--border-strong);
1234
+ }
1235
+
1236
+ /* Hover states for interactive elements */
1237
+ .hover-surface:hover {
1238
+ background-color: var(--accent-subtle);
1239
+ }
1240
+
1241
+ .hover-surface-strong:hover {
1242
+ background-color: var(--accent-muted);
1243
+ }
1244
+
1245
+ /* Scrollbar dark mode */
1246
+ .dark ::-webkit-scrollbar-thumb,
1247
+ .true-black ::-webkit-scrollbar-thumb {
1248
+ background: rgba(255, 255, 255, 0.15);
1249
+ }
1250
+
1251
+ .dark ::-webkit-scrollbar-thumb:hover,
1252
+ .true-black ::-webkit-scrollbar-thumb:hover {
1253
+ background: rgba(255, 255, 255, 0.25);
1254
+ }
1255
+
1256
+ /* Navigation dark mode fixes */
1257
+ .dark .nav-item:hover,
1258
+ .true-black .nav-item:hover {
1259
+ background: var(--accent-subtle);
1260
+ color: var(--text-primary);
1261
+ }
1262
+
1263
+ .dark .nav-item:hover::before,
1264
+ .true-black .nav-item:hover::before {
1265
+ background: var(--text-primary);
1266
+ opacity: 0.4;
1267
+ }
1268
+
1269
+ .dark .nav-item.active,
1270
+ .true-black .nav-item.active {
1271
+ color: var(--text-primary);
1272
+ font-weight: 600;
1273
+ }
1274
+
1275
+ .dark .nav-item.active::before,
1276
+ .true-black .nav-item.active::before {
1277
+ background: var(--text-primary);
1278
+ opacity: 1;
1279
+ }
1280
+
1281
+ /* =====================================================
1282
+ Dropdown Items (language, theme, etc.)
1283
+ ===================================================== */
1284
+
1285
+ .dropdown-item {
1286
+ position: relative;
1287
+ display: flex;
1288
+ align-items: center;
1289
+ gap: 0.75rem;
1290
+ padding: 0.625rem 0.875rem;
1291
+ padding-left: 1.25rem;
1292
+ font-size: 0.875rem;
1293
+ font-weight: 500;
1294
+ color: var(--text-tertiary);
1295
+ border-radius: 10px;
1296
+ transition: all 0.12s ease;
1297
+ white-space: nowrap;
1298
+ }
1299
+
1300
+ .dropdown-item::before {
1301
+ content: '';
1302
+ position: absolute;
1303
+ left: 0.5rem;
1304
+ top: 50%;
1305
+ transform: translateY(-50%) translateX(-10px);
1306
+ width: 3px;
1307
+ height: 16px;
1308
+ background: var(--text-primary);
1309
+ border-radius: 2px;
1310
+ transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
1311
+ opacity: 0;
1312
+ }
1313
+
1314
+ .dropdown-item:hover {
1315
+ color: var(--text-primary);
1316
+ background: rgba(0, 0, 0, 0.03);
1317
+ }
1318
+
1319
+ .dropdown-item:hover::before {
1320
+ transform: translateY(-50%) translateX(0);
1321
+ opacity: 0.3;
1322
+ }
1323
+
1324
+ .dropdown-item.active {
1325
+ color: var(--text-primary);
1326
+ font-weight: 500;
1327
+ }
1328
+
1329
+ .dropdown-item.active::before {
1330
+ transform: translateY(-50%) translateX(0);
1331
+ opacity: 1;
1332
+ height: 18px;
1333
+ }
1334
+
1335
+ .dark .dropdown-item:hover,
1336
+ .true-black .dropdown-item:hover {
1337
+ background: var(--accent-subtle);
1338
+ color: var(--text-primary);
1339
+ }
1340
+
1341
+ .dark .dropdown-item:hover::before,
1342
+ .true-black .dropdown-item:hover::before {
1343
+ background: var(--text-primary);
1344
+ opacity: 0.4;
1345
+ }
1346
+
1347
+ .dark .dropdown-item.active,
1348
+ .true-black .dropdown-item.active {
1349
+ color: var(--text-primary);
1350
+ font-weight: 600;
1351
+ }
1352
+
1353
+ .dark .dropdown-item.active::before,
1354
+ .true-black .dropdown-item.active::before {
1355
+ background: var(--text-primary);
1356
+ opacity: 1;
1357
+ }
1358
+
1359
+ /* Input dark mode fixes */
1360
+ .dark .input:focus,
1361
+ .true-black .input:focus {
1362
+ box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
1363
+ }
1364
+
1365
+ /* Skeleton dark mode */
1366
+ .dark .skeleton,
1367
+ .true-black .skeleton {
1368
+ background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.04) 75%);
1369
+ background-size: 200% 100%;
1370
+ }
1371
+
1372
+ /* Glass card dark mode */
1373
+ .dark .glass-card {
1374
+ background: rgba(20, 20, 23, 0.4);
1375
+ border-color: var(--border-default);
1376
+ }
1377
+
1378
+ .dark .glass-card:hover {
1379
+ background: rgba(30, 30, 35, 0.5);
1380
+ border-color: var(--border-strong);
1381
+ box-shadow: var(--shadow-lg);
1382
+ }
1383
+
1384
+ .true-black .glass-card {
1385
+ background: rgba(255, 255, 255, 0.03);
1386
+ border-color: var(--border-default);
1387
+ }
1388
+
1389
+ .true-black .glass-card:hover {
1390
+ background: rgba(255, 255, 255, 0.06);
1391
+ border-color: var(--border-strong);
1392
+ box-shadow: var(--shadow-lg);
1393
+ }
1394
+
1395
+ /* Code inline dark mode */
1396
+ .dark .code-inline,
1397
+ .true-black .code-inline {
1398
+ background: rgba(255, 255, 255, 0.08);
1399
+ }
1400
+
1401
+ /* Focus ring dark mode */
1402
+ .dark .focus-ring:focus,
1403
+ .true-black .focus-ring:focus {
1404
+ box-shadow: 0 0 0 2px var(--bg-base), 0 0 0 4px rgba(255, 255, 255, 0.15);
1405
+ }
1406
+
1407
+ /* Toggle switch component */
1408
+ .toggle-track {
1409
+ background-color: var(--accent-muted);
1410
+ transition: background-color 0.2s ease;
1411
+ }
1412
+
1413
+ .toggle-track.active {
1414
+ background-color: var(--accent);
1415
+ }
1416
+
1417
+ .toggle-thumb {
1418
+ background-color: var(--bg-base);
1419
+ box-shadow: var(--shadow-sm);
1420
+ }
1421
+
1422
+ /* Table rows hover */
1423
+ .table-row-hover:hover {
1424
+ background-color: var(--accent-subtle);
1425
+ }
1426
+
1427
+ .dark .table-row-hover:hover,
1428
+ .true-black .table-row-hover:hover {
1429
+ background-color: rgba(255, 255, 255, 0.03);
1430
+ }
1431
+
1432
+ /* Tabs */
1433
+ .tab-active {
1434
+ background-color: var(--bg-card);
1435
+ box-shadow: var(--shadow-sm);
1436
+ }
1437
+
1438
+ .tab-inactive {
1439
+ background-color: transparent;
1440
+ }
1441
+
1442
+ .tab-inactive:hover {
1443
+ background-color: var(--accent-subtle);
1444
+ }
1445
+
1446
+ /* Empty state */
1447
+ .empty-state {
1448
+ display: flex;
1449
+ flex-direction: column;
1450
+ align-items: center;
1451
+ justify-content: center;
1452
+ padding: 3rem;
1453
+ text-align: center;
1454
+ }
1455
+
1456
+ .empty-icon {
1457
+ width: 48px;
1458
+ height: 48px;
1459
+ margin-bottom: 1rem;
1460
+ color: var(--text-muted);
1461
+ opacity: 0.5;
1462
+ }
1463
+
1464
+ /* =====================================================
1465
+ Syntax Highlighting - Design System Colors
1466
+ ===================================================== */
1467
+
1468
+ :root {
1469
+ --code-keyword: #0451a5;
1470
+ --code-string: #a31515;
1471
+ --code-comment: #008000;
1472
+ --code-function: #795e26;
1473
+ --code-number: #098658;
1474
+ --code-variable: #001080;
1475
+ --code-operator: #666666;
1476
+ --code-class: #267f99;
1477
+ --code-constant: #0000ff;
1478
+ --code-tag: #800000;
1479
+ --code-attribute: #ff0000;
1480
+ --code-value: #a31515;
1481
+ --code-property: #0451a5;
1482
+ --code-builtin: #795e26;
1483
+ }
1484
+
1485
+ .dark {
1486
+ --code-keyword: #569cd6;
1487
+ --code-string: #ce9178;
1488
+ --code-comment: #6a9955;
1489
+ --code-function: #dcdcaa;
1490
+ --code-number: #b5cea8;
1491
+ --code-variable: #9cdcfe;
1492
+ --code-operator: #d4d4d4;
1493
+ --code-class: #4ec9b0;
1494
+ --code-constant: #569cd6;
1495
+ --code-tag: #569cd6;
1496
+ --code-attribute: #9cdcfe;
1497
+ --code-value: #ce9178;
1498
+ --code-property: #9cdcfe;
1499
+ --code-builtin: #dcdcaa;
1500
+ }
1501
+
1502
+ .true-black {
1503
+ --code-keyword: #569cd6;
1504
+ --code-string: #ce9178;
1505
+ --code-comment: #6a9955;
1506
+ --code-function: #dcdcaa;
1507
+ --code-number: #b5cea8;
1508
+ --code-variable: #9cdcfe;
1509
+ --code-operator: #d4d4d8;
1510
+ --code-class: #4ec9b0;
1511
+ --code-constant: #569cd6;
1512
+ --code-tag: #569cd6;
1513
+ --code-attribute: #9cdcfe;
1514
+ --code-value: #ce9178;
1515
+ --code-property: #9cdcfe;
1516
+ --code-builtin: #dcdcaa;
1517
+ }
1518
+
1519
+ /* Syntax highlighting classes */
1520
+ .syntax-keyword {
1521
+ color: var(--code-keyword);
1522
+ }
1523
+
1524
+ .syntax-string {
1525
+ color: var(--code-string);
1526
+ }
1527
+
1528
+ .syntax-comment {
1529
+ color: var(--code-comment);
1530
+ font-style: italic;
1531
+ }
1532
+
1533
+ .syntax-function {
1534
+ color: var(--code-function);
1535
+ }
1536
+
1537
+ .syntax-number {
1538
+ color: var(--code-number);
1539
+ }
1540
+
1541
+ .syntax-variable {
1542
+ color: var(--code-variable);
1543
+ }
1544
+
1545
+ .syntax-operator {
1546
+ color: var(--code-operator);
1547
+ }
1548
+
1549
+ .syntax-class {
1550
+ color: var(--code-class);
1551
+ }
1552
+
1553
+ .syntax-constant {
1554
+ color: var(--code-constant);
1555
+ }
1556
+
1557
+ .syntax-tag {
1558
+ color: var(--code-tag);
1559
+ }
1560
+
1561
+ .syntax-attribute {
1562
+ color: var(--code-attribute);
1563
+ }
1564
+
1565
+ .syntax-value {
1566
+ color: var(--code-value);
1567
+ }
1568
+
1569
+ .syntax-property {
1570
+ color: var(--code-property);
1571
+ }
1572
+
1573
+ .syntax-builtin {
1574
+ color: var(--code-builtin);
1575
+ }
1576
+
1577
+ /* =====================================================
1578
+ Hero & Landing Page Enhancements
1579
+ ===================================================== */
1580
+
1581
+ /* Hero gradient background */
1582
+ /* Hero gradient background */
1583
+ .hero-gradient {
1584
+ background: radial-gradient(ellipse at top, var(--accent-subtle) 0%, transparent 60%);
1585
+ }
1586
+
1587
+ .dark .hero-gradient {
1588
+ background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
1589
+ }
1590
+
1591
+ .true-black .hero-gradient {
1592
+ background: radial-gradient(ellipse at top, rgba(212, 212, 216, 0.12) 0%, transparent 60%);
1593
+ }
1594
+
1595
+ /* Glowing text effect */
1596
+ .glow-text {
1597
+ text-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
1598
+ }
1599
+
1600
+ .dark .glow-text {
1601
+ text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
1602
+ }
1603
+
1604
+ .true-black .glow-text {
1605
+ text-shadow: 0 0 40px rgba(212, 212, 216, 0.1);
1606
+ }
1607
+
1608
+ /* Feature icon container */
1609
+ .feature-icon {
1610
+ width: 48px;
1611
+ height: 48px;
1612
+ display: flex;
1613
+ align-items: center;
1614
+ justify-content: center;
1615
+ background: var(--accent-subtle);
1616
+ border-radius: 12px;
1617
+ color: var(--accent);
1618
+ margin-bottom: 1rem;
1619
+ }
1620
+
1621
+ .dark .feature-icon {
1622
+ background: rgba(255, 255, 255, 0.05);
1623
+ color: var(--text-primary);
1624
+ }
1625
+
1626
+ .true-black .feature-icon {
1627
+ background: rgba(212, 212, 216, 0.1);
1628
+ color: var(--text-primary);
1629
+ }
1630
+
1631
+ /* Gradient border card */
1632
+ .gradient-card {
1633
+ position: relative;
1634
+ background: var(--bg-card);
1635
+ border-radius: 20px;
1636
+ padding: 1px;
1637
+ background: linear-gradient(135deg, var(--border-subtle) 0%, var(--border-default) 100%);
1638
+ }
1639
+
1640
+ .gradient-card-inner {
1641
+ background: var(--bg-card);
1642
+ border-radius: 19px;
1643
+ padding: 1.5rem;
1644
+ }
1645
+
1646
+ /* Animated badge */
1647
+ .badge-pulse {
1648
+ animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
1649
+ }
1650
+
1651
+ @keyframes pulse {
1652
+
1653
+ 0%,
1654
+ 100% {
1655
+ opacity: 1;
1656
+ }
1657
+
1658
+ 50% {
1659
+ opacity: 0.7;
1660
+ }
1661
+ }
1662
+
1663
+ /* Pricing card featured */
1664
+ .pricing-featured {
1665
+ position: relative;
1666
+ background: var(--accent);
1667
+ color: var(--bg-base);
1668
+ border: 1px solid var(--border-hairline);
1669
+ border-radius: 16px;
1670
+ box-shadow: var(--shadow-xs);
1671
+ }
1672
+
1673
+ .pricing-featured::before {
1674
+ content: '';
1675
+ position: absolute;
1676
+ inset: 0;
1677
+ background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
1678
+ pointer-events: none;
1679
+ }
1680
+
1681
+ /* CTA section */
1682
+ .cta-section {
1683
+ background: linear-gradient(135deg, var(--accent-subtle) 0%, var(--bg-base) 100%);
1684
+ }
1685
+
1686
+ .dark .cta-section {
1687
+ background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
1688
+ }
1689
+
1690
+ .true-black .cta-section {
1691
+ background: linear-gradient(135deg, rgba(212, 212, 216, 0.08) 0%, transparent 100%);
1692
+ }
1693
+
1694
+ /* Stat number */
1695
+ .stat-number {
1696
+ font-size: 3rem;
1697
+ font-weight: 700;
1698
+ line-height: 1;
1699
+ letter-spacing: -0.03em;
1700
+ background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
1701
+ -webkit-background-clip: text;
1702
+ -webkit-text-fill-color: transparent;
1703
+ background-clip: text;
1704
+ }
1705
+
1706
+ /* Code syntax highlight in demo */
1707
+ .code-keyword {
1708
+ color: var(--code-keyword);
1709
+ }
1710
+
1711
+ .code-string {
1712
+ color: var(--code-string);
1713
+ }
1714
+
1715
+ .code-function {
1716
+ color: var(--code-function);
1717
+ }
1718
+
1719
+ .code-comment {
1720
+ color: var(--code-comment);
1721
+ }
1722
+
1723
+ .code-number {
1724
+ color: var(--code-number);
1725
+ }
1726
+
1727
+ /* Floating animation - defined above at line 945 */
1728
+ .animate-float {
1729
+ animation: float 6s ease-in-out infinite;
1730
+ }
1731
+
1732
+ /* Grid pattern background */
1733
+ .grid-pattern {
1734
+ background-image: radial-gradient(var(--border-subtle) 1px, transparent 1px);
1735
+ background-size: 24px 24px;
1736
+ }
1737
+
1738
+ .dark .grid-pattern {
1739
+ background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
1740
+ }
1741
+
1742
+ .true-black .grid-pattern {
1743
+ background-image: radial-gradient(rgba(212, 212, 216, 0.15) 1px, transparent 1px);
1744
+ }
1745
+
1746
+ /* Blur circle decoration */
1747
+ .blur-circle {
1748
+ position: absolute;
1749
+ border-radius: 50%;
1750
+ filter: blur(80px);
1751
+ opacity: 0.5;
1752
+ pointer-events: none;
1753
+ }
1754
+
1755
+ .blur-circle-1 {
1756
+ width: 300px;
1757
+ height: 300px;
1758
+ background: var(--accent-subtle);
1759
+ top: -100px;
1760
+ right: -100px;
1761
+ }
1762
+
1763
+ .dark .blur-circle-1 {
1764
+ background: rgba(255, 255, 255, 0.05);
1765
+ }
1766
+
1767
+ .true-black .blur-circle-1 {
1768
+ background: rgba(212, 212, 216, 0.08);
1769
+ }
1770
+
1771
+ .blur-circle-2 {
1772
+ width: 400px;
1773
+ height: 400px;
1774
+ background: var(--accent-subtle);
1775
+ bottom: -150px;
1776
+ left: -150px;
1777
+ }
1778
+
1779
+ .dark .blur-circle-2 {
1780
+ background: rgba(255, 255, 255, 0.03);
1781
+ }
1782
+
1783
+ .true-black .blur-circle-2 {
1784
+ background: rgba(212, 212, 216, 0.05);
1785
+ }
1786
+
1787
+ /* =====================================================
1788
+ Smooth Scroll
1789
+ ===================================================== */
1790
+
1791
+ html {
1792
+ scroll-behavior: smooth;
1793
+ }
1794
+
1795
+ /* =====================================================
1796
+ Enhanced Animations
1797
+ ===================================================== */
1798
+
1799
+ /* Staggered animation delays */
1800
+ .stagger-1 {
1801
+ animation-delay: 100ms;
1802
+ }
1803
+
1804
+ .stagger-2 {
1805
+ animation-delay: 200ms;
1806
+ }
1807
+
1808
+ .stagger-3 {
1809
+ animation-delay: 300ms;
1810
+ }
1811
+
1812
+ .stagger-4 {
1813
+ animation-delay: 400ms;
1814
+ }
1815
+
1816
+ .stagger-5 {
1817
+ animation-delay: 500ms;
1818
+ }
1819
+
1820
+ .stagger-6 {
1821
+ animation-delay: 600ms;
1822
+ }
1823
+
1824
+ /* Fade in up animation */
1825
+ @keyframes fadeInUp {
1826
+ from {
1827
+ opacity: 0;
1828
+ transform: translateY(30px);
1829
+ }
1830
+
1831
+ to {
1832
+ opacity: 1;
1833
+ transform: translateY(0);
1834
+ }
1835
+ }
1836
+
1837
+ .fade-in-up {
1838
+ animation: fadeInUp 0.6s ease-out forwards;
1839
+ opacity: 0;
1840
+ }
1841
+
1842
+ /* Scale in animation */
1843
+ @keyframes scaleIn {
1844
+ from {
1845
+ opacity: 0;
1846
+ transform: scale(0.9);
1847
+ }
1848
+
1849
+ to {
1850
+ opacity: 1;
1851
+ transform: scale(1);
1852
+ }
1853
+ }
1854
+
1855
+ .scale-in {
1856
+ animation: scaleIn 0.4s ease-out forwards;
1857
+ opacity: 0;
1858
+ }
1859
+
1860
+ /* Shimmer effect for buttons - shimmer keyframe defined above at line 916 */
1861
+ .btn-shimmer {
1862
+ background: linear-gradient(90deg, var(--text-primary) 0%, var(--text-primary) 40%, rgba(255, 255, 255, 0.3) 50%, var(--text-primary) 60%, var(--text-primary) 100%);
1863
+ background-size: 200% 100%;
1864
+ animation: shimmer 3s infinite;
1865
+ }
1866
+
1867
+ /* Glow on hover */
1868
+ .glow-hover {
1869
+ transition: box-shadow 0.3s ease, transform 0.3s ease;
1870
+ }
1871
+
1872
+ .glow-hover:hover {
1873
+ box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
1874
+ transform: translateY(-2px);
1875
+ }
1876
+
1877
+ .dark .glow-hover:hover {
1878
+ box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
1879
+ }
1880
+
1881
+ .true-black .glow-hover:hover {
1882
+ box-shadow: 0 0 30px rgba(212, 212, 216, 0.08);
1883
+ }
1884
+
1885
+ /* Gradient text animated */
1886
+ @keyframes gradientShift {
1887
+
1888
+ 0%,
1889
+ 100% {
1890
+ background-position: 0% 50%;
1891
+ }
1892
+
1893
+ 50% {
1894
+ background-position: 100% 50%;
1895
+ }
1896
+ }
1897
+
1898
+ .gradient-text-animated {
1899
+ background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 50%, var(--text-primary) 100%);
1900
+ background-size: 200% 200%;
1901
+ -webkit-background-clip: text;
1902
+ -webkit-text-fill-color: transparent;
1903
+ background-clip: text;
1904
+ animation: gradientShift 5s ease infinite;
1905
+ }
1906
+
1907
+ /* Border glow */
1908
+ .border-glow {
1909
+ position: relative;
1910
+ }
1911
+
1912
+ .border-glow::before {
1913
+ content: '';
1914
+ position: absolute;
1915
+ inset: -2px;
1916
+ border-radius: inherit;
1917
+ padding: 2px;
1918
+ background: linear-gradient(135deg, var(--accent-muted), var(--accent-subtle), var(--accent-muted));
1919
+ background-size: 200% 200%;
1920
+ animation: gradientShift 4s ease infinite;
1921
+ -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
1922
+ mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
1923
+ -webkit-mask-composite: xor;
1924
+ mask-composite: exclude;
1925
+ opacity: 0;
1926
+ transition: opacity 0.3s ease;
1927
+ }
1928
+
1929
+ .border-glow:hover::before {
1930
+ opacity: 1;
1931
+ }
1932
+
1933
+ /* Spotlight effect */
1934
+ @keyframes spotlight {
1935
+ 0% {
1936
+ transform: translateX(-100%) translateY(-100%) rotate(45deg);
1937
+ }
1938
+
1939
+ 100% {
1940
+ transform: translateX(100%) translateY(100%) rotate(45deg);
1941
+ }
1942
+ }
1943
+
1944
+ .spotlight-card {
1945
+ position: relative;
1946
+ overflow: hidden;
1947
+ }
1948
+
1949
+ .spotlight-card::after {
1950
+ content: '';
1951
+ position: absolute;
1952
+ top: -50%;
1953
+ left: -50%;
1954
+ width: 200%;
1955
+ height: 200%;
1956
+ background: linear-gradient(to bottom right,
1957
+ rgba(255, 255, 255, 0) 0%,
1958
+ rgba(255, 255, 255, 0.05) 50%,
1959
+ rgba(255, 255, 255, 0) 100%);
1960
+ transform: rotate(45deg);
1961
+ transition: all 0.5s ease;
1962
+ opacity: 0;
1963
+ }
1964
+
1965
+ .spotlight-card:hover::after {
1966
+ animation: spotlight 1.5s ease;
1967
+ }
1968
+
1969
+ /* Typing cursor animation */
1970
+ @keyframes blink {
1971
+
1972
+ 0%,
1973
+ 50% {
1974
+ opacity: 1;
1975
+ }
1976
+
1977
+ 51%,
1978
+ 100% {
1979
+ opacity: 0;
1980
+ }
1981
+ }
1982
+
1983
+ .typing-cursor::after {
1984
+ content: '|';
1985
+ animation: blink 1s infinite;
1986
+ margin-left: 2px;
1987
+ }
1988
+
1989
+ /* Underline animation */
1990
+ .underline-animated {
1991
+ position: relative;
1992
+ }
1993
+
1994
+ .underline-animated::after {
1995
+ content: '';
1996
+ position: absolute;
1997
+ bottom: -2px;
1998
+ left: 0;
1999
+ width: 0;
2000
+ height: 2px;
2001
+ background: var(--accent);
2002
+ transition: width 0.3s ease;
2003
+ }
2004
+
2005
+ .underline-animated:hover::after {
2006
+ width: 100%;
2007
+ }
2008
+
2009
+ /* Marquee for logos */
2010
+ @keyframes marquee {
2011
+ 0% {
2012
+ transform: translateX(0);
2013
+ }
2014
+
2015
+ 100% {
2016
+ transform: translateX(-50%);
2017
+ }
2018
+ }
2019
+
2020
+ .marquee {
2021
+ animation: marquee 30s linear infinite;
2022
+ }
2023
+
2024
+ /* Reveal on scroll */
2025
+ .reveal {
2026
+ opacity: 0;
2027
+ transform: translateY(30px);
2028
+ transition: all 0.6s ease;
2029
+ }
2030
+
2031
+ .reveal.visible {
2032
+ opacity: 1;
2033
+ transform: translateY(0);
2034
+ }
2035
+
2036
+ /* Magnetic button effect */
2037
+ .magnetic {
2038
+ transition: transform 0.2s ease;
2039
+ }
2040
+
2041
+ /* Counter animation */
2042
+ @keyframes countUp {
2043
+ from {
2044
+ opacity: 0;
2045
+ transform: scale(0.5);
2046
+ }
2047
+
2048
+ to {
2049
+ opacity: 1;
2050
+ transform: scale(1);
2051
+ }
2052
+ }
2053
+
2054
+ .counter-animate {
2055
+ animation: countUp 0.6s ease-out forwards;
2056
+ }
2057
+
2058
+ /* Glassmorphism card enhanced */
2059
+ .glass-card-enhanced {
2060
+ background: rgba(255, 255, 255, 0.7);
2061
+ backdrop-filter: blur(20px);
2062
+ -webkit-backdrop-filter: blur(20px);
2063
+ border: 1px solid rgba(255, 255, 255, 0.3);
2064
+ border-radius: 20px;
2065
+ box-shadow:
2066
+ 0 8px 32px rgba(0, 0, 0, 0.08),
2067
+ inset 0 1px 0 rgba(255, 255, 255, 0.5);
2068
+ transition: all 0.3s ease;
2069
+ }
2070
+
2071
+ .glass-card-enhanced:hover {
2072
+ background: rgba(255, 255, 255, 0.8);
2073
+ box-shadow:
2074
+ 0 12px 40px rgba(0, 0, 0, 0.12),
2075
+ inset 0 1px 0 rgba(255, 255, 255, 0.6);
2076
+ transform: translateY(-4px);
2077
+ }
2078
+
2079
+ .dark .glass-card-enhanced {
2080
+ background: rgba(20, 20, 23, 0.6);
2081
+ border: 1px solid rgba(255, 255, 255, 0.1);
2082
+ box-shadow:
2083
+ 0 8px 32px rgba(0, 0, 0, 0.3),
2084
+ inset 0 1px 0 rgba(255, 255, 255, 0.1);
2085
+ }
2086
+
2087
+ .dark .glass-card-enhanced:hover {
2088
+ background: rgba(30, 30, 35, 0.7);
2089
+ box-shadow:
2090
+ 0 12px 40px rgba(0, 0, 0, 0.4),
2091
+ inset 0 1px 0 rgba(255, 255, 255, 0.15);
2092
+ }
2093
+
2094
+ .true-black .glass-card-enhanced {
2095
+ background: rgba(255, 255, 255, 0.03);
2096
+ border: 1px solid rgba(255, 255, 255, 0.1);
2097
+ box-shadow:
2098
+ 0 0 0 1px rgba(255, 255, 255, 0.1),
2099
+ inset 0 1px 0 rgba(255, 255, 255, 0.05);
2100
+ }
2101
+
2102
+ .true-black .glass-card-enhanced:hover {
2103
+ background: rgba(255, 255, 255, 0.05);
2104
+ box-shadow:
2105
+ 0 0 0 1px rgba(255, 255, 255, 0.15),
2106
+ inset 0 1px 0 rgba(255, 255, 255, 0.08);
2107
+ }
2108
+
2109
+ /* Noise texture overlay */
2110
+ .noise-overlay {
2111
+ position: relative;
2112
+ }
2113
+
2114
+ .noise-overlay::before {
2115
+ content: '';
2116
+ position: absolute;
2117
+ inset: 0;
2118
+ background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
2119
+ pointer-events: none;
2120
+ opacity: 0.5;
2121
+ }
2122
+
2123
+ /* Particle effect dots */
2124
+ @keyframes twinkle {
2125
+
2126
+ 0%,
2127
+ 100% {
2128
+ opacity: 0.2;
2129
+ transform: scale(1);
2130
+ }
2131
+
2132
+ 50% {
2133
+ opacity: 1;
2134
+ transform: scale(1.2);
2135
+ }
2136
+ }
2137
+
2138
+ .particle {
2139
+ position: absolute;
2140
+ width: 4px;
2141
+ height: 4px;
2142
+ background: var(--accent-muted);
2143
+ border-radius: 50%;
2144
+ animation: twinkle 3s ease-in-out infinite;
2145
+ }
2146
+
2147
+ .particle:nth-child(1) {
2148
+ top: 20%;
2149
+ left: 10%;
2150
+ animation-delay: 0s;
2151
+ }
2152
+
2153
+ .particle:nth-child(2) {
2154
+ top: 60%;
2155
+ left: 80%;
2156
+ animation-delay: 0.5s;
2157
+ }
2158
+
2159
+ .particle:nth-child(3) {
2160
+ top: 80%;
2161
+ left: 30%;
2162
+ animation-delay: 1s;
2163
+ }
2164
+
2165
+ .particle:nth-child(4) {
2166
+ top: 30%;
2167
+ left: 70%;
2168
+ animation-delay: 1.5s;
2169
+ }
2170
+
2171
+ .particle:nth-child(5) {
2172
+ top: 50%;
2173
+ left: 20%;
2174
+ animation-delay: 2s;
2175
+ }
2176
+ /* Highlight.js theme adjustments */
2177
+ .hljs {
2178
+ background: transparent !important;
2179
+ }
2180
+
2181
+ .dark .hljs,
2182
+ .true-black .hljs {
2183
+ background: transparent !important;
2184
+ }
2185
+
2186
+ /* Streaming cursor animation */
2187
+ @keyframes streaming-cursor {
2188
+ 0%, 50% {
2189
+ opacity: 1;
2190
+ }
2191
+ 51%, 100% {
2192
+ opacity: 0;
2193
+ }
2194
+ }
2195
+
2196
+ .streaming-cursor {
2197
+ animation: streaming-cursor 1s infinite;
2198
+ }
2199
+
2200
+ /* =====================================================
2201
+ Typewriter Effect
2202
+ ===================================================== */
2203
+
2204
+ @keyframes typewriter-fade-in {
2205
+ from {
2206
+ opacity: 0;
2207
+ transform: translateY(2px);
2208
+ }
2209
+ to {
2210
+ opacity: 1;
2211
+ transform: translateY(0);
2212
+ }
2213
+ }
2214
+
2215
+ .typewriter-text {
2216
+ animation: typewriter-fade-in 0.1s ease-out;
2217
+ }
2218
+
2219
+ /* =====================================================
2220
+ Modal & Dialog Overlay (Global)
2221
+ ===================================================== */
2222
+
2223
+ /* Modal backdrop - full screen overlay */
2224
+ .modal-backdrop {
2225
+ position: fixed;
2226
+ inset: 0;
2227
+ background: rgba(0, 0, 0, 0.4);
2228
+ backdrop-filter: blur(4px);
2229
+ -webkit-backdrop-filter: blur(4px);
2230
+ z-index: 9999;
2231
+ }
2232
+
2233
+ .dark .modal-backdrop,
2234
+ .true-black .modal-backdrop {
2235
+ background: rgba(0, 0, 0, 0.6);
2236
+ }
2237
+
2238
+ /* Modal content - centered on screen */
2239
+ .modal-content {
2240
+ position: fixed;
2241
+ z-index: 10000;
2242
+ max-height: 90vh;
2243
+ overflow: hidden;
2244
+ }
2245
+
2246
+ /* Ensure modals always render at the root level */
2247
+ @media (prefers-reduced-motion: no-preference) {
2248
+ .modal-content {
2249
+ animation: fadeInScale 0.2s ease-out;
2250
+ }
2251
+ }