@claudelaw/taichu 0.6.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 (93) hide show
  1. package/.dockerignore +13 -0
  2. package/Dockerfile +51 -0
  3. package/LICENSE +21 -0
  4. package/README.md +208 -0
  5. package/docker-compose.yml +42 -0
  6. package/docs/ROADMAP.md +101 -0
  7. package/docs/api/README.md +102 -0
  8. package/docs/architecture/001-zero-dependency-core.md +61 -0
  9. package/docs/architecture/002-structured-content-model.md +70 -0
  10. package/docs/architecture/003-hook-based-extension.md +82 -0
  11. package/docs/architecture/004-api-first-architecture.md +122 -0
  12. package/docs/architecture/README.md +24 -0
  13. package/docs/logo.svg +40 -0
  14. package/docs/research/ai-era-cms-user-research.md +247 -0
  15. package/docs/zh/README.md +81 -0
  16. package/docs/zh/guides/deploy.md +75 -0
  17. package/docs/zh/guides/mcp.md +84 -0
  18. package/docs/zh/guides/promotion.md +51 -0
  19. package/marketplace.json +78 -0
  20. package/package.json +60 -0
  21. package/packages/core/src/auth.js +158 -0
  22. package/packages/core/src/content-type.js +244 -0
  23. package/packages/core/src/core.test.js +406 -0
  24. package/packages/core/src/errors.js +60 -0
  25. package/packages/core/src/hooks.js +104 -0
  26. package/packages/core/src/index.js +16 -0
  27. package/packages/core/src/server.test.js +149 -0
  28. package/packages/core/src/sm-crypto.js +31 -0
  29. package/packages/core/src/sqlite-store.js +354 -0
  30. package/packages/core/src/store.js +174 -0
  31. package/packages/core/src/tokenizer.js +89 -0
  32. package/packages/core/src/vector-index.js +131 -0
  33. package/packages/llm-providers/src/index.js +181 -0
  34. package/packages/mcp/src/index.js +355 -0
  35. package/packages/server/public/admin/assets/index-DApxOVTx.js +191 -0
  36. package/packages/server/public/admin/assets/index-DtMvdQm9.css +1 -0
  37. package/packages/server/public/admin/index.html +28 -0
  38. package/packages/server/public/aurora/style.css +1173 -0
  39. package/packages/server/public/favicon.svg +46 -0
  40. package/packages/server/public/theme/index.html +288 -0
  41. package/packages/server/public/theme/style.css +133 -0
  42. package/packages/server/public/theme-minimal/index.html +223 -0
  43. package/packages/server/public/theme-minimal/style.css +109 -0
  44. package/packages/server/public/ws-test.html +106 -0
  45. package/packages/server/src/activitypub.js +228 -0
  46. package/packages/server/src/audit.js +104 -0
  47. package/packages/server/src/auth-provider.js +76 -0
  48. package/packages/server/src/body-parser.js +52 -0
  49. package/packages/server/src/bootstrap.js +272 -0
  50. package/packages/server/src/collab.js +154 -0
  51. package/packages/server/src/config.js +136 -0
  52. package/packages/server/src/context.js +86 -0
  53. package/packages/server/src/email.js +317 -0
  54. package/packages/server/src/index.js +195 -0
  55. package/packages/server/src/logger.js +78 -0
  56. package/packages/server/src/media-store.js +213 -0
  57. package/packages/server/src/middleware/auth.js +203 -0
  58. package/packages/server/src/middleware/cors.js +15 -0
  59. package/packages/server/src/middleware/error-handler.js +49 -0
  60. package/packages/server/src/middleware/rate-limit.js +118 -0
  61. package/packages/server/src/multipart.js +150 -0
  62. package/packages/server/src/notify.js +126 -0
  63. package/packages/server/src/pipeline.js +206 -0
  64. package/packages/server/src/plugin-installer.js +139 -0
  65. package/packages/server/src/plugin-manager.js +165 -0
  66. package/packages/server/src/relationships.js +217 -0
  67. package/packages/server/src/revisions.js +114 -0
  68. package/packages/server/src/router.js +194 -0
  69. package/packages/server/src/routes/activitypub.js +140 -0
  70. package/packages/server/src/routes/api.js +363 -0
  71. package/packages/server/src/routes/audit.js +222 -0
  72. package/packages/server/src/routes/auth.js +205 -0
  73. package/packages/server/src/routes/collab.js +90 -0
  74. package/packages/server/src/routes/export.js +77 -0
  75. package/packages/server/src/routes/graphql.js +344 -0
  76. package/packages/server/src/routes/media.js +169 -0
  77. package/packages/server/src/routes/plugin-marketplace.js +171 -0
  78. package/packages/server/src/routes/relationships.js +133 -0
  79. package/packages/server/src/routes/rss.js +92 -0
  80. package/packages/server/src/routes/sso.js +211 -0
  81. package/packages/server/src/routes/theme.js +119 -0
  82. package/packages/server/src/routes/webhook.js +94 -0
  83. package/packages/server/src/routes/wechat.js +115 -0
  84. package/packages/server/src/routes/workflow.js +157 -0
  85. package/packages/server/src/scheduler.js +96 -0
  86. package/packages/server/src/search.js +100 -0
  87. package/packages/server/src/server.test.js +295 -0
  88. package/packages/server/src/sso-analytics.js +78 -0
  89. package/packages/server/src/static.js +70 -0
  90. package/packages/server/src/theme-engine.js +119 -0
  91. package/packages/server/src/webhook.js +192 -0
  92. package/packages/server/src/websocket.js +308 -0
  93. package/scripts/cli.js +90 -0
@@ -0,0 +1,1173 @@
1
+ /* =============================================
2
+ 个人BLOG — 6段企业展示布局
3
+ Design: Aurora × Glass × Showcase
4
+ ============================================= */
5
+
6
+ :root {
7
+ --bg-deep: #030614;
8
+ --bg-base: #060b1f;
9
+ --glass-bg: rgba(255,255,255,0.03);
10
+ --glass-bg-hover: rgba(255,255,255,0.07);
11
+ --glass-bg-active: rgba(255,255,255,0.1);
12
+ --glass-border: rgba(255,255,255,0.07);
13
+ --glass-border-hover: rgba(255,255,255,0.15);
14
+ --glass-blur: blur(40px) saturate(180%);
15
+
16
+ --aurora-green: #5ef2c6;
17
+ --aurora-blue: #7aa2ff;
18
+ --aurora-purple: #c084fc;
19
+ --aurora-pink: #f472b6;
20
+ --aurora-amber: #fbbf24;
21
+ --aurora-coral: #fb7185;
22
+
23
+ --text-hero: #f1f5f9;
24
+ --text-primary: #dde4f4;
25
+ --text-secondary: #99a8c7;
26
+ --text-muted: #5a6684;
27
+ --text-inverse: #030614;
28
+
29
+ --grad-primary: linear-gradient(135deg, #5ef2c6, #7aa2ff 50%, #c084fc);
30
+ --grad-warm: linear-gradient(135deg, #f472b6, #c084fc 50%, #7aa2ff);
31
+ --grad-fire: linear-gradient(135deg, #fbbf24, #f472b6, #c084fc);
32
+
33
+ --stroke-color: rgba(255,255,255,0.06);
34
+ --glow-green: 0 0 40px rgba(94,242,198,0.12), 0 0 80px rgba(94,242,198,0.04);
35
+ --glow-blue: 0 0 40px rgba(122,162,255,0.12), 0 0 80px rgba(122,162,255,0.04);
36
+ --card-shadow: 0 4px 24px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.04);
37
+ --card-hover: 0 8px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.08), 0 0 60px rgba(122,162,255,0.06);
38
+
39
+ --radius-xs: 6px;
40
+ --radius-sm: 10px;
41
+ --radius-md: 16px;
42
+ --radius-lg: 24px;
43
+ --radius-xl: 32px;
44
+ --radius-full: 9999px;
45
+
46
+ --font-display: 'Space Grotesk', 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
47
+ --font-body: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
48
+ --font-mono: 'JetBrains Mono', 'Cascadia Code', 'Consolas', monospace;
49
+
50
+ --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
51
+ --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
52
+ --max-width: 1320px;
53
+ }
54
+
55
+ [data-theme="light"] {
56
+ --bg-deep: #f0f4f8; --bg-base: #ffffff;
57
+ --glass-bg: rgba(0,0,0,0.03); --glass-bg-hover: rgba(0,0,0,0.06);
58
+ --glass-bg-active: rgba(0,0,0,0.08);
59
+ --glass-border: rgba(0,0,0,0.08); --glass-border-hover: rgba(0,0,0,0.15);
60
+ --text-hero: #0f172a; --text-primary: #1e293b;
61
+ --text-secondary: #475569; --text-muted: #94a3b8; --text-inverse: #ffffff;
62
+ --stroke-color: rgba(0,0,0,0.06);
63
+ --card-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
64
+ --card-hover: 0 8px 40px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.06);
65
+ --glow-green: 0 0 40px rgba(16,185,129,0.08); --glow-blue: 0 0 40px rgba(99,102,241,0.08);
66
+ }
67
+ [data-theme="light"] .grid-texture { opacity: 0.3; }
68
+ [data-theme="light"] .aurora-blob { opacity: 0.25; }
69
+ [data-theme="light"] .post-body pre { background: #1e293b; }
70
+ [data-theme="light"] .blog-card, [data-theme="light"] .ranking-group { background: #fff; }
71
+ [data-theme="light"] .navbar-scrolled { background: rgba(255,255,255,0.85); }
72
+ [data-theme="light"] .nav-back { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.08); }
73
+
74
+ /* Theme toggle */
75
+ .theme-toggle {
76
+ background: none; border: 1px solid var(--glass-border); border-radius: 50%;
77
+ width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
78
+ cursor: pointer; color: var(--text-muted); font-size: 0.9rem; transition: all 0.2s;
79
+ flex-shrink: 0; margin-left: 10px;
80
+ }
81
+ .theme-toggle:hover { border-color: var(--aurora-blue); color: var(--aurora-blue); }
82
+ .nav-login { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); text-decoration: none; letter-spacing: 0.04em; text-transform: uppercase; transition: color 0.2s; white-space: nowrap; flex-shrink: 0; margin-left: 28px; }
83
+ .nav-login:hover { color: var(--aurora-green); }
84
+
85
+ *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
86
+
87
+ html {
88
+ scroll-behavior: smooth;
89
+ scroll-padding-top: 100px;
90
+ -webkit-font-smoothing: antialiased;
91
+ }
92
+
93
+ body {
94
+ font-family: var(--font-body);
95
+ background: var(--bg-deep);
96
+ color: var(--text-primary);
97
+ line-height: 1.65;
98
+ min-height: 100vh;
99
+ overflow-x: hidden;
100
+ font-size: 15px;
101
+ }
102
+
103
+ /* ===== Background ===== */
104
+ .aurora-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
105
+ .aurora-blob { position: absolute; border-radius: 50%; filter: blur(140px); opacity: 0.35; animation: auroraFloat 24s ease-in-out infinite; }
106
+ .aurora-blob--1 { width: 700px; height: 700px; background: var(--aurora-green); top: -20%; left: -15%; animation-delay: 0s; }
107
+ .aurora-blob--2 { width: 550px; height: 550px; background: var(--aurora-blue); top: 25%; right: -10%; animation-delay: -8s; animation-duration: 28s; }
108
+ .aurora-blob--3 { width: 600px; height: 600px; background: var(--aurora-purple); bottom: -25%; left: 25%; animation-delay: -16s; animation-duration: 20s; }
109
+ .aurora-blob--4 { width: 450px; height: 450px; background: var(--aurora-pink); top: 50%; right: 35%; animation-delay: -4s; animation-duration: 26s; }
110
+ @keyframes auroraFloat {
111
+ 0%, 100% { transform: translate(0,0) scale(1); }
112
+ 25% { transform: translate(80px,-50px) scale(1.1); }
113
+ 50% { transform: translate(-40px,60px) scale(0.92); }
114
+ 75% { transform: translate(-60px,-40px) scale(1.06); }
115
+ }
116
+ .grid-texture {
117
+ position: fixed; inset: 0; z-index: 0; pointer-events: none;
118
+ background-image: linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
119
+ linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
120
+ background-size: 64px 64px;
121
+ mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black, transparent);
122
+ }
123
+
124
+ /* ===== Nav ===== */
125
+ .navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 14px 0; transition: all 0.3s var(--ease-out); }
126
+ .navbar-scrolled { background: rgba(3,6,20,0.78); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border-bottom: 1px solid var(--glass-border); padding: 10px 0; }
127
+ .container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }
128
+ .nav-inner { display: flex; align-items: center; }
129
+ .nav-logo { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; color: var(--aurora-green); text-decoration: none; flex-shrink: 0; }
130
+ .nav-links { display: flex; list-style: none; gap: 28px; margin: 0; padding: 0; margin-left: auto; }
131
+ .nav-links a { font-size: 0.78rem; font-weight: 500; color: var(--text-muted); text-decoration: none; letter-spacing: 0.04em; text-transform: uppercase; transition: color 0.2s; position: relative; }
132
+ .nav-links a:hover { color: var(--text-primary); }
133
+ .nav-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1.5px; background: var(--grad-primary); border-radius: 1px; transition: width 0.3s var(--ease-out); }
134
+ .nav-links a:hover::after { width: 100%; }
135
+
136
+ /* Nav back pill */
137
+ .nav-back { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-full); color: var(--text-secondary); font-size: 0.82rem; font-weight: 500; text-decoration: none; transition: all 0.2s; }
138
+ .nav-back:hover { border-color: var(--glass-border-hover); color: var(--text-primary); background: var(--glass-bg-hover); }
139
+ .nav-back svg { flex-shrink: 0; }
140
+
141
+ /* ===== Section Shared ===== */
142
+ .section { padding: 80px 0; position: relative; z-index: 1; }
143
+ .section-header { margin-bottom: 48px; }
144
+ .section-eyebrow { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--aurora-blue); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
145
+ .eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--aurora-blue); box-shadow: 0 0 8px var(--aurora-blue); animation: pulseDot 2s ease-in-out infinite; }
146
+ @keyframes pulseDot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(1.4); } }
147
+ .section-title { font-family: var(--font-display); font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text-hero); margin-bottom: 8px; }
148
+ .section-desc { font-size: 0.95rem; color: var(--text-muted); max-width: 480px; }
149
+
150
+ /* Section header with view-all link */
151
+ .section-header-split { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
152
+ .section-more { font-family: var(--font-display); font-size: 0.78rem; font-weight: 600; color: var(--text-muted); text-decoration: none; letter-spacing: 0.03em; transition: color 0.2s; white-space: nowrap; }
153
+ .section-more:hover { color: var(--aurora-blue); }
154
+
155
+ /* ========================================
156
+ 1. 抖音视频大卡
157
+ ======================================== */
158
+ .video-showcase {
159
+ background: var(--glass-bg);
160
+ backdrop-filter: var(--glass-blur);
161
+ -webkit-backdrop-filter: var(--glass-blur);
162
+ border: 1px solid var(--glass-border);
163
+ border-radius: var(--radius-xl);
164
+ overflow: hidden;
165
+ max-width: 420px;
166
+ margin: 0 auto;
167
+ box-shadow: var(--card-shadow);
168
+ }
169
+ .video-wrapper { position: relative; width: 100%; padding-bottom: 177.78%; background: #000; }
170
+ .video-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
171
+ .video-placeholder { padding: 80px 40px; text-align: center; }
172
+ .video-placeholder-icon { font-size: 3.5rem; margin-bottom: 20px; }
173
+ .video-placeholder h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--text-hero); margin-bottom: 10px; }
174
+ .video-placeholder p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }
175
+ .video-hint { margin-top: 14px; display: inline-block; padding: 6px 16px; background: var(--glass-bg-active); border-radius: var(--radius-full); font-family: var(--font-mono); font-size: 0.72rem; color: var(--aurora-green); }
176
+
177
+ /* ========================================
178
+ 2. 关于我 + 社媒双栏
179
+ ======================================== */
180
+ .about-layout { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
181
+ .about-card {
182
+ background: var(--glass-bg);
183
+ backdrop-filter: var(--glass-blur);
184
+ -webkit-backdrop-filter: var(--glass-blur);
185
+ border: 1px solid var(--glass-border);
186
+ border-radius: var(--radius-xl);
187
+ padding: 48px;
188
+ }
189
+ .about-eyebrow { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--aurora-green); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
190
+ .about-name { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text-hero); margin-bottom: 8px; }
191
+ .about-title { font-size: 0.9rem; color: var(--aurora-blue); font-weight: 500; margin-bottom: 20px; }
192
+ .about-bio { font-size: 1rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 32px; max-width: 560px; }
193
+ .about-stats { display: flex; gap: 40px; }
194
+ .about-stat { display: flex; flex-direction: column; }
195
+ .about-stat-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; background: var(--grad-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
196
+ .about-stat-lbl { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.04em; }
197
+
198
+ /* Social panel (sidebar) */
199
+ .social-panel {
200
+ background: var(--glass-bg);
201
+ backdrop-filter: var(--glass-blur);
202
+ -webkit-backdrop-filter: var(--glass-blur);
203
+ border: 1px solid var(--glass-border);
204
+ border-radius: var(--radius-xl);
205
+ padding: 32px;
206
+ }
207
+ .social-panel-title { font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 20px; }
208
+ .social-grid-sidebar { display: flex; flex-direction: column; gap: 6px; }
209
+ .social-item {
210
+ display: flex; align-items: center; gap: 12px; padding: 12px 16px;
211
+ background: transparent; border-radius: var(--radius-sm);
212
+ text-decoration: none; transition: all 0.2s var(--ease-out);
213
+ }
214
+ .social-item:hover { background: var(--glass-bg-hover); }
215
+ .social-item-icon { width: 40px; height: 40px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; background: var(--glass-bg-active); flex-shrink: 0; }
216
+ .social-item-icon svg { width: 20px; height: 20px; color: var(--text-secondary); transition: color 0.2s; }
217
+ .social-item:hover .social-item-icon svg { color: var(--aurora-blue); }
218
+ .social-item-name { font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); transition: color 0.2s; }
219
+ .social-item:hover .social-item-name { color: var(--text-hero); }
220
+ .social-item-handle { font-size: 0.7rem; color: var(--text-muted); font-family: var(--font-mono); }
221
+
222
+ /* ========================================
223
+ 3. BLOG 4卡并排
224
+ ======================================== */
225
+ .blog-grid-4 {
226
+ display: grid;
227
+ grid-template-columns: repeat(4, 1fr);
228
+ gap: 18px;
229
+ }
230
+ .blog-card {
231
+ background: var(--glass-bg);
232
+ backdrop-filter: blur(20px);
233
+ -webkit-backdrop-filter: blur(20px);
234
+ border: 1px solid var(--glass-border);
235
+ border-radius: var(--radius-lg);
236
+ padding: 28px 24px;
237
+ transition: all 0.3s var(--ease-out);
238
+ text-decoration: none;
239
+ display: flex;
240
+ flex-direction: column;
241
+ position: relative;
242
+ overflow: hidden;
243
+ }
244
+ .blog-card:hover { transform: translateY(-4px); border-color: var(--glass-border-hover); box-shadow: var(--card-hover); background: var(--glass-bg-hover); }
245
+ .blog-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-primary); opacity: 0; transition: opacity 0.3s; }
246
+ .blog-card:hover::before { opacity: 1; }
247
+ .blog-card-date { font-size: 0.7rem; color: var(--text-muted); font-family: var(--font-mono); margin-bottom: 12px; }
248
+ .blog-card-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--text-hero); margin-bottom: 10px; line-height: 1.4; transition: color 0.2s; }
249
+ .blog-card:hover .blog-card-title { color: var(--aurora-green); }
250
+ .blog-card-summary { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; flex: 1; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
251
+ .blog-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
252
+ .blog-tag { font-size: 0.66rem; color: var(--aurora-blue); opacity: 0.7; }
253
+ .blog-card-featured .blog-card-title { background: var(--grad-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
254
+
255
+ /* Blog Pagination */
256
+ .blog-pagination { margin-top: 40px; display: flex; justify-content: center; }
257
+ .pagination { display: flex; align-items: center; gap: 16px; }
258
+ .page-btn { padding: 8px 18px; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-sm); color: var(--text-primary); font-size: 0.8rem; font-family: var(--font-display); cursor: pointer; transition: all 0.2s; }
259
+ .page-btn:hover:not([disabled]) { border-color: var(--aurora-blue); color: var(--aurora-blue); background: rgba(94,242,198,0.05); }
260
+ .page-btn[disabled] { opacity: 0.3; cursor: not-allowed; }
261
+ .page-info { font-size: 0.8rem; color: var(--text-muted); font-family: var(--font-mono); }
262
+
263
+ /* ========================================
264
+ 4. 应用大卡
265
+ ======================================== */
266
+ .apps-showcase { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
267
+ .app-showcase-card {
268
+ background: var(--glass-bg);
269
+ backdrop-filter: var(--glass-blur);
270
+ -webkit-backdrop-filter: var(--glass-blur);
271
+ border: 1px solid var(--glass-border);
272
+ border-radius: var(--radius-xl);
273
+ padding: 40px;
274
+ transition: all 0.3s var(--ease-out);
275
+ text-decoration: none;
276
+ position: relative;
277
+ overflow: hidden;
278
+ }
279
+ .app-showcase-card:hover { transform: translateY(-6px); border-color: var(--glass-border-hover); box-shadow: var(--card-hover); }
280
+ .app-showcase-card::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius-xl); background: radial-gradient(600px circle at var(--mx,50%) var(--my,50%), rgba(122,162,255,0.06), transparent 50%); opacity: 0; transition: opacity 0.4s; }
281
+ .app-showcase-card:hover::after { opacity: 1; }
282
+ .app-showcase-icon { width: 56px; height: 56px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 24px; }
283
+ .app-showcase-icon--green { background: rgba(94,242,198,0.1); color: var(--aurora-green); }
284
+ .app-showcase-icon--blue { background: rgba(122,162,255,0.1); color: var(--aurora-blue); }
285
+ .app-showcase-icon--purple { background: rgba(192,132,252,0.1); color: var(--aurora-purple); }
286
+ .app-showcase-icon--pink { background: rgba(244,114,182,0.1); color: var(--aurora-pink); }
287
+ .app-showcase-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--text-hero); margin-bottom: 6px; }
288
+ .app-showcase-tagline { font-size: 0.82rem; font-weight: 600; color: var(--aurora-green); margin-bottom: 14px; letter-spacing: 0.01em; }
289
+ .app-showcase-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; }
290
+ .app-showcase-footer { display: flex; justify-content: space-between; align-items: center; }
291
+ .app-showcase-tech { display: flex; flex-wrap: wrap; gap: 6px; }
292
+ .app-showcase-status { font-size: 0.68rem; font-weight: 600; padding: 5px 14px; border-radius: var(--radius-full); letter-spacing: 0.03em; }
293
+ .status-live { background: rgba(94,242,198,0.1); color: var(--aurora-green); border: 1px solid rgba(94,242,198,0.2); }
294
+ .status-dev { background: rgba(251,191,36,0.1); color: var(--aurora-amber); border: 1px solid rgba(251,191,36,0.2); }
295
+
296
+ /* ========================================
297
+ 5. Agent / Skill 中小卡
298
+ ======================================== */
299
+ .agent-tabs { display: flex; gap: 8px; margin-bottom: 32px; }
300
+ .agent-tab {
301
+ padding: 8px 22px; border-radius: var(--radius-full);
302
+ font-family: var(--font-display); font-size: 0.78rem; font-weight: 500;
303
+ background: var(--glass-bg); border: 1px solid var(--glass-border);
304
+ color: var(--text-secondary); cursor: pointer;
305
+ transition: all 0.2s var(--ease-out);
306
+ letter-spacing: 0.02em;
307
+ }
308
+ .agent-tab:hover { border-color: var(--glass-border-hover); color: var(--text-primary); }
309
+ .agent-tab.active { background: rgba(122,162,255,0.12); border-color: rgba(122,162,255,0.3); color: var(--aurora-blue); }
310
+
311
+ .agent-grid {
312
+ display: grid;
313
+ grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
314
+ gap: 14px;
315
+ }
316
+ .agent-card {
317
+ background: var(--glass-bg);
318
+ backdrop-filter: blur(20px);
319
+ -webkit-backdrop-filter: blur(20px);
320
+ border: 1px solid var(--glass-border);
321
+ border-radius: var(--radius-md);
322
+ padding: 22px 20px;
323
+ transition: all 0.25s var(--ease-out);
324
+ cursor: default;
325
+ position: relative;
326
+ overflow: hidden;
327
+ }
328
+ .agent-card:hover { transform: translateY(-3px); border-color: var(--glass-border-hover); background: var(--glass-bg-hover); box-shadow: var(--card-hover); }
329
+ .agent-card-type {
330
+ position: absolute; top: 12px; right: 14px;
331
+ font-size: 0.58rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
332
+ padding: 2px 10px; border-radius: var(--radius-full);
333
+ }
334
+ .agent-card-type--agent { background: rgba(94,242,198,0.1); color: var(--aurora-green); border: 1px solid rgba(94,242,198,0.2); }
335
+ .agent-card-type--skill { background: rgba(192,132,252,0.1); color: var(--aurora-purple); border: 1px solid rgba(192,132,252,0.2); }
336
+ .agent-card-icon { font-size: 1.4rem; margin-bottom: 14px; line-height: 1; }
337
+ .agent-card-name { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--text-hero); margin-bottom: 4px; }
338
+ .agent-card-tagline { font-size: 0.72rem; color: var(--aurora-blue); margin-bottom: 10px; font-weight: 500; }
339
+ .agent-card-desc { font-size: 0.78rem; color: var(--text-secondary); line-height: 1.55; }
340
+
341
+ /* ========================================
342
+ 6. 全球热门排行
343
+ ======================================== */
344
+ .ranking-tabs { display: flex; gap: 8px; margin-bottom: 32px; }
345
+ .ranking-tab {
346
+ padding: 10px 24px; border-radius: var(--radius-full);
347
+ font-family: var(--font-display); font-size: 0.82rem; font-weight: 600;
348
+ background: var(--glass-bg); border: 1px solid var(--glass-border);
349
+ color: var(--text-secondary); cursor: pointer;
350
+ transition: all 0.2s var(--ease-out);
351
+ }
352
+ .ranking-tab:hover { border-color: var(--glass-border-hover); color: var(--text-primary); }
353
+ .ranking-tab.active { background: rgba(244,114,182,0.1); border-color: rgba(244,114,182,0.3); color: var(--aurora-pink); }
354
+
355
+ .ranking-panel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
356
+ .ranking-panel-full { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
357
+ .ranking-group { background: var(--glass-bg); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: 28px; }
358
+ .ranking-group-header { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--stroke-color); }
359
+ .ranking-group-icon { font-size: 1.2rem; }
360
+ .ranking-group-title { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--text-hero); }
361
+ .ranking-group-count { font-size: 0.68rem; color: var(--text-muted); margin-left: auto; }
362
+
363
+ .ranking-list { display: flex; flex-direction: column; gap: 2px; }
364
+ .ranking-item { display: flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: var(--radius-sm); transition: background 0.2s; cursor: default; }
365
+ .ranking-item:hover { background: var(--glass-bg-hover); }
366
+ .ranking-cover { width: 36px; height: 48px; border-radius: 3px; object-fit: cover; flex-shrink: 0; background: var(--glass-bg-active); }
367
+ .ranking-num { width: 22px; height: 22px; border-radius: var(--radius-xs); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; flex-shrink: 0; }
368
+ .ranking-num--1 { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #000; }
369
+ .ranking-num--2 { background: linear-gradient(135deg, #c0c0c0, #a0a0a0); color: #000; }
370
+ .ranking-num--3 { background: linear-gradient(135deg, #cd7f32, #a0522d); color: #fff; }
371
+ .ranking-num--other { background: var(--glass-bg-active); color: var(--text-muted); }
372
+ .ranking-info { flex: 1; min-width: 0; }
373
+ .ranking-title { font-size: 0.76rem; font-weight: 600; color: var(--text-primary); line-height: 1.3;
374
+ display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
375
+ word-break: break-all; }
376
+ .ranking-desc { font-size: 0.7rem; color: var(--text-muted); margin-top: 2px; }
377
+ .ranking-meta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
378
+ .ranking-tag { font-size: 0.62rem; font-weight: 600; padding: 2px 8px; border-radius: var(--radius-full); letter-spacing: 0.04em; text-transform: uppercase; }
379
+ .ranking-tag--anime { background: rgba(94,242,198,0.1); color: var(--aurora-green); border: 1px solid rgba(94,242,198,0.2); }
380
+ .ranking-tag--manga { background: rgba(244,114,182,0.1); color: var(--aurora-pink); border: 1px solid rgba(244,114,182,0.2); }
381
+ .ranking-tag--game { background: rgba(122,162,255,0.1); color: var(--aurora-blue); border: 1px solid rgba(122,162,255,0.2); }
382
+ .ranking-date { font-size: 0.7rem; color: var(--text-muted); font-family: var(--font-mono); }
383
+ .ranking-rating { font-size: 0.72rem; font-weight: 700; color: var(--aurora-amber, #fbbf24); font-family: var(--font-display); flex-shrink: 0; white-space: nowrap; }
384
+
385
+ /* --- Ranking 4-column panel --- */
386
+ .ranking-panel-4col { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
387
+
388
+ /* --- Ranking Toolbar (search + sort + view) --- */
389
+ .ranking-toolbar {
390
+ display: flex; align-items: center; gap: 12px; margin-bottom: 28px; flex-wrap: wrap;
391
+ }
392
+ .ranking-search {
393
+ flex: 1; min-width: 200px; padding: 10px 16px 10px 40px;
394
+ background: var(--glass-bg); border: 1px solid var(--glass-border);
395
+ border-radius: var(--radius-full); color: var(--text-primary);
396
+ font-size: 0.85rem; font-family: inherit; outline: none;
397
+ transition: border-color 0.2s; box-sizing: border-box;
398
+ }
399
+ .ranking-search:focus { border-color: var(--aurora-blue); }
400
+ .ranking-search-wrap { position: relative; flex: 1; min-width: 200px; }
401
+ .ranking-search-icon {
402
+ position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
403
+ font-size: 0.85rem; color: var(--text-muted); pointer-events: none;
404
+ }
405
+ .ranking-sort {
406
+ padding: 10px 14px; background: var(--glass-bg); border: 1px solid var(--glass-border);
407
+ border-radius: var(--radius-full); color: var(--text-secondary);
408
+ font-size: 0.78rem; font-family: var(--font-display); font-weight: 600;
409
+ cursor: pointer; outline: none; transition: border-color 0.2s;
410
+ }
411
+ .ranking-sort:focus { border-color: var(--aurora-blue); }
412
+ .ranking-view-toggle {
413
+ display: flex; gap: 2px; background: var(--glass-bg);
414
+ border: 1px solid var(--glass-border); border-radius: var(--radius-full);
415
+ padding: 3px;
416
+ }
417
+ .ranking-view-btn {
418
+ width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
419
+ border: none; border-radius: var(--radius-full); background: transparent;
420
+ color: var(--text-muted); cursor: pointer; transition: all 0.2s;
421
+ font-size: 0.9rem; line-height: 1;
422
+ }
423
+ .ranking-view-btn.active { background: var(--aurora-blue); color: #fff; }
424
+ .ranking-view-btn:hover:not(.active) { color: var(--text-primary); }
425
+
426
+ /* --- Trend List (clean row layout) --- */
427
+ .trend-list {
428
+ display: flex; flex-direction: column; gap: 1px;
429
+ border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
430
+ overflow: hidden; background: var(--glass-border);
431
+ }
432
+ .trend-row {
433
+ display: flex; align-items: center; gap: 14px; padding: 16px 20px;
434
+ background: var(--glass-bg); transition: background 0.15s;
435
+ text-decoration: none; color: inherit; cursor: pointer;
436
+ }
437
+ .trend-row:hover { background: var(--glass-bg-hover); }
438
+ .trend-rank {
439
+ width: 32px; height: 32px; border-radius: var(--radius-sm);
440
+ display: flex; align-items: center; justify-content: center;
441
+ font-family: var(--font-display); font-size: 0.8rem; font-weight: 800;
442
+ flex-shrink: 0;
443
+ }
444
+ .trend-rank--1 { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #000; }
445
+ .trend-rank--2 { background: linear-gradient(135deg, #c0c0c0, #a0a0a0); color: #000; }
446
+ .trend-rank--3 { background: linear-gradient(135deg, #cd7f32, #a0522d); color: #fff; }
447
+ .trend-rank--other { background: var(--glass-bg-active); color: var(--text-muted); }
448
+ .trend-cat {
449
+ font-size: 1.1rem; flex-shrink: 0; width: 28px; text-align: center;
450
+ }
451
+ .trend-info { flex: 1; min-width: 0; }
452
+ .trend-title {
453
+ font-family: var(--font-display); font-size: 0.92rem; font-weight: 700;
454
+ color: var(--text-hero); line-height: 1.3; margin-bottom: 2px;
455
+ display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
456
+ word-break: break-all;
457
+ }
458
+ .trend-desc {
459
+ font-size: 0.76rem; color: var(--text-muted); line-height: 1.4;
460
+ display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
461
+ }
462
+ .trend-score {
463
+ font-family: var(--font-display); font-size: 1rem; font-weight: 800;
464
+ color: var(--aurora-amber); flex-shrink: 0; white-space: nowrap;
465
+ min-width: 52px; text-align: right;
466
+ }
467
+ @media (max-width: 640px) {
468
+ .trend-row { padding: 12px 14px; gap: 10px; }
469
+ .trend-title { font-size: 0.82rem; }
470
+ .trend-score { font-size: 0.85rem; }
471
+ }
472
+
473
+ /* Old card grid — hidden, kept for reference */
474
+ .ranking-card-grid { display: none; }
475
+
476
+ /* Empty / no results */
477
+ .ranking-empty {
478
+ text-align: center; padding: 80px 20px; color: var(--text-muted);
479
+ }
480
+ .ranking-empty-icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.3; }
481
+ .ranking-empty-text { font-size: 0.9rem; }
482
+
483
+ /* ===== Footer ===== */
484
+ .footer { padding: 48px 0; border-top: 1px solid var(--stroke-color); position: relative; z-index: 1; }
485
+ .footer-inner { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: var(--text-muted); }
486
+ .footer-links { display: flex; gap: 20px; }
487
+ .footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; transition: color 0.2s; }
488
+ .footer-links a:hover { color: var(--text-secondary); }
489
+
490
+ .footer-icp {
491
+ font-size: 0.72rem;
492
+ color: var(--text-muted);
493
+ margin: 0 16px;
494
+ text-decoration: none;
495
+ transition: color 0.2s;
496
+ }
497
+ .footer-icp:hover {
498
+ color: var(--text-secondary);
499
+ }
500
+
501
+ /* ===== Tech badges shared ===== */
502
+ .tech-badge {
503
+ font-size: 0.66rem; font-weight: 500; padding: 3px 10px; border-radius: var(--radius-full); letter-spacing: 0.02em;
504
+ }
505
+ .tech-blue { background: rgba(122,162,255,0.1); color: var(--aurora-blue); }
506
+ .tech-purple { background: rgba(192,132,252,0.1); color: var(--aurora-purple); }
507
+ .tech-amber { background: rgba(251,191,36,0.1); color: var(--aurora-amber); }
508
+ .tech-pink { background: rgba(244,114,182,0.1); color: var(--aurora-pink); }
509
+ .tech-green { background: rgba(94,242,198,0.1); color: var(--aurora-green); }
510
+
511
+ /* ===== Animations ===== */
512
+ @keyframes fadeSlideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
513
+ .animate-in { animation: fadeSlideUp 0.6s var(--ease-out) backwards; }
514
+ .stagger-1 { animation-delay: 0.08s; }
515
+ .stagger-2 { animation-delay: 0.16s; }
516
+ .stagger-3 { animation-delay: 0.24s; }
517
+ .stagger-4 { animation-delay: 0.32s; }
518
+
519
+ /* ===== Scrollbar ===== */
520
+ ::-webkit-scrollbar { width: 6px; }
521
+ ::-webkit-scrollbar-track { background: transparent; }
522
+ ::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.06); border-radius: 3px; }
523
+ ::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.12); }
524
+ ::selection { background: rgba(94,242,198,0.2); color: var(--aurora-green); }
525
+ code { font-family: var(--font-mono); font-size: 0.82em; background: var(--glass-bg-active); padding: 3px 8px; border-radius: var(--radius-xs); border: 1px solid var(--stroke-color); color: var(--aurora-pink); }
526
+
527
+ /* ========================================
528
+ Responsive
529
+ ======================================== */
530
+ @media (max-width: 1024px) {
531
+ .blog-grid-4 { grid-template-columns: repeat(2, 1fr); }
532
+ .apps-showcase { grid-template-columns: 1fr; }
533
+ .about-layout { grid-template-columns: 1fr; }
534
+ .ranking-panel { grid-template-columns: 1fr; }
535
+ .ranking-panel-4col { grid-template-columns: repeat(2, 1fr); }
536
+ .ranking-card-grid { grid-template-columns: repeat(2, 1fr); }
537
+ .agent-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
538
+ .ranking-cards-container { grid-template-columns: repeat(3, 1fr); }
539
+ .ranking-more-link { min-height: 80px; }
540
+ }
541
+ @media (max-width: 768px) {
542
+ .container { padding: 0 20px; }
543
+ .nav-links { display: none; }
544
+ .section { padding: 56px 0; }
545
+ .section-title { font-size: 1.5rem; }
546
+ .blog-grid-4 { grid-template-columns: 1fr; }
547
+ .about-card { padding: 28px; }
548
+ .about-name { font-size: 1.6rem; }
549
+ .about-stats { gap: 24px; }
550
+ .ranking-panel { grid-template-columns: 1fr; }
551
+ .ranking-panel-4col { grid-template-columns: repeat(2, 1fr); }
552
+ .ranking-card-grid { grid-template-columns: repeat(2, 1fr); }
553
+ .ranking-card-grid.list-mode { grid-template-columns: 1fr; }
554
+ .ranking-card-grid.list-mode .ranking-card-cover { width: 60px; }
555
+ .agent-grid { grid-template-columns: repeat(2, 1fr); }
556
+ .footer-inner { flex-direction: column; gap: 10px; text-align: center; }
557
+ }
558
+ @media (max-width: 480px) {
559
+ .agent-grid { grid-template-columns: 1fr; }
560
+ .apps-showcase { grid-template-columns: 1fr; }
561
+ .ranking-card-grid { grid-template-columns: 1fr; }
562
+ .ranking-toolbar { flex-direction: column; align-items: stretch; }
563
+ .ranking-search-wrap { min-width: auto; }
564
+ .app-showcase-card { padding: 24px; }
565
+ .landing-nav { grid-template-columns: repeat(3, 1fr); }
566
+ .landing-nav-card { padding: 20px 12px; }
567
+ }
568
+
569
+ /* =============================================
570
+ 多页面架构新增样式
571
+ ============================================= */
572
+
573
+ /* Nav active state */
574
+ .nav-links a.active { color: var(--text-hero); }
575
+ .nav-links a.active::after { width: 100%; }
576
+
577
+ /* Landing page */
578
+ .landing-hero { padding: 180px 0 100px; text-align: center; position: relative; z-index: 1; }
579
+ .landing-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: var(--glass-bg); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 500; color: var(--aurora-green); letter-spacing: 0.04em; margin-bottom: 28px; }
580
+ .landing-name { font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 12px; background: linear-gradient(135deg, #f0f4ff 0%, #b4c4f0 30%, #a78bfa 60%, #f0abfc 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
581
+ .landing-title { font-size: 0.95rem; color: var(--aurora-blue); font-weight: 500; margin-bottom: 16px; }
582
+ .landing-bio { font-size: 1rem; color: var(--text-secondary); max-width: 560px; margin: 0 auto 48px; line-height: 1.8; }
583
+
584
+ /* ===== 首屏视频 Hero ===== */
585
+ .hero-video {
586
+ position: relative; width: 100%; height: 100vh; height: 100svh;
587
+ overflow: hidden;
588
+ display: flex; align-items: center; justify-content: center;
589
+ }
590
+ .hero-video-frame {
591
+ position: absolute; inset: 0;
592
+ background: #000;
593
+ }
594
+ .hero-video-el {
595
+ width: 100%; height: 100%; object-fit: cover;
596
+ }
597
+ .hero-video-placeholder {
598
+ position: absolute; inset: 0;
599
+ display: flex; flex-direction: column; align-items: center; justify-content: center;
600
+ background: radial-gradient(ellipse at center, rgba(94,242,198,0.08), transparent 70%), var(--bg-deep);
601
+ color: var(--text-secondary); text-align: center; gap: 12px;
602
+ }
603
+ .hero-video-placeholder .hero-video-icon { font-size: 4rem; margin-bottom: 8px; }
604
+ .hero-video-placeholder h2 { font-family: var(--font-display); font-size: 2rem; color: var(--text-hero); }
605
+ .hero-video-placeholder p { font-size: 0.9rem; color: var(--text-muted); }
606
+ .hero-video-placeholder code { margin-top: 8px; font-family: var(--font-mono); font-size: 0.75rem; background: var(--glass-bg-active); padding: 6px 16px; border-radius: var(--radius-full); color: var(--aurora-green); }
607
+ .hero-video-overlay {
608
+ position: absolute; inset: 0;
609
+ background: linear-gradient(to top, rgba(3,6,20,0.7) 0%, transparent 40%, rgba(3,6,20,0.3) 100%);
610
+ display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
611
+ padding-bottom: 60px;
612
+ }
613
+ .hero-video-content { text-align: center; }
614
+ .hero-video-title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,0.5); margin-bottom: 8px; }
615
+ .hero-video-sub { font-size: 1rem; color: rgba(255,255,255,0.8); font-weight: 400; text-shadow: 0 1px 10px rgba(0,0,0,0.5); margin-bottom: 32px; }
616
+ .hero-video-cta { display: flex; justify-content: center; }
617
+ .hero-video-scroll {
618
+ display: flex; flex-direction: column; align-items: center; gap: 4px;
619
+ color: rgba(255,255,255,0.7); text-decoration: none;
620
+ font-family: var(--font-display); font-size: 0.7rem; font-weight: 600;
621
+ letter-spacing: 0.08em; text-transform: uppercase;
622
+ transition: color 0.3s; animation: bounceDown 2s ease-in-out infinite;
623
+ }
624
+ .hero-video-scroll:hover { color: #fff; }
625
+ @keyframes bounceDown {
626
+ 0%, 100% { transform: translateY(0); }
627
+ 50% { transform: translateY(8px); }
628
+ }
629
+
630
+ /* Landing nav (below hero) */
631
+ .landing-nav { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; max-width: 720px; margin: 0 auto; }
632
+ .landing-nav-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px 16px; background: var(--glass-bg); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); text-decoration: none; transition: all 0.3s var(--ease-out); }
633
+ .landing-nav-card:hover { transform: translateY(-4px); border-color: var(--glass-border-hover); background: var(--glass-bg-hover); box-shadow: var(--card-hover); }
634
+ .landing-nav-icon { font-size: 1.8rem; }
635
+ .landing-nav-label { font-family: var(--font-display); font-size: 0.75rem; font-weight: 600; color: var(--text-secondary); letter-spacing: 0.03em; text-transform: uppercase; transition: color 0.2s; }
636
+ .landing-nav-card:hover .landing-nav-label { color: var(--text-hero); }
637
+
638
+ /* Ranking cards compact (homepage preview) */
639
+ .ranking-cards-container {
640
+ display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
641
+ }
642
+ .ranking-card {
643
+ background: var(--glass-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
644
+ border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
645
+ padding: 24px 20px; text-decoration: none; transition: all 0.3s var(--ease-out);
646
+ position: relative; overflow: hidden;
647
+ }
648
+ .ranking-card:hover { transform: translateY(-4px); border-color: var(--glass-border-hover); background: var(--glass-bg-hover); box-shadow: var(--card-hover); }
649
+ .ranking-card-rank { font-family: var(--font-display); font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text-muted); margin-bottom: 8px; }
650
+ .ranking-card-rank--1 { background: linear-gradient(135deg, #fbbf24, #f59e0b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
651
+ .ranking-card-rank--2 { background: linear-gradient(135deg, #c0c0c0, #a0a0a0); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
652
+ .ranking-card-rank--3 { background: linear-gradient(135deg, #cd7f32, #a0522d); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
653
+ .ranking-card-title { font-size: 0.88rem; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; line-height: 1.3; }
654
+ .ranking-card-date { font-size: 0.7rem; color: var(--text-muted); font-family: var(--font-mono); }
655
+ .ranking-card-tag { display: inline-block; margin-top: 10px; font-size: 0.62rem; font-weight: 600; padding: 3px 10px; border-radius: var(--radius-full); letter-spacing: 0.04em; text-transform: uppercase; background: rgba(94,242,198,0.1); color: var(--aurora-green); border: 1px solid rgba(94,242,198,0.2); }
656
+ .ranking-more-link { display: flex; align-items: center; justify-content: center; background: var(--glass-bg); border: 1px dashed var(--glass-border); border-radius: var(--radius-lg); color: var(--text-muted); text-decoration: none; font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.03em; transition: all 0.3s; }
657
+ .ranking-more-link:hover { border-color: var(--glass-border-hover); color: var(--aurora-blue); background: var(--glass-bg-hover); }
658
+
659
+ /* ========================================
660
+ Market page
661
+ ======================================== */
662
+ .market-section { margin-bottom: 24px; }
663
+ .market-section-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--text-hero); margin-bottom: 24px; padding-bottom: 10px; border-bottom: 1px solid var(--stroke-color); }
664
+
665
+ /* ========================================
666
+ Niuma page
667
+ ======================================== */
668
+ .niuma-hero { text-align: center; margin-bottom: 64px; }
669
+ .niuma-hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2); border-radius: var(--radius-full); font-size: 0.72rem; font-weight: 600; color: var(--aurora-green); letter-spacing: 0.06em; margin-bottom: 24px; }
670
+ .niuma-hero-title { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.04em; background: linear-gradient(135deg, #5ef2c6,#10b981,#059669); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 12px; }
671
+ .niuma-hero-tagline { font-size: 1.05rem; color: var(--aurora-blue); font-weight: 500; margin-bottom: 16px; }
672
+ .niuma-hero-desc { font-size: 0.95rem; color: var(--text-secondary); max-width: 640px; margin: 0 auto 32px; line-height: 1.8; }
673
+ .niuma-hero-meta { display: flex; justify-content: center; gap: 48px; }
674
+ .niuma-meta-item { text-align: center; font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }
675
+ .niuma-meta-item strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--text-hero); font-weight: 700; }
676
+
677
+ .niuma-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 64px; }
678
+ .niuma-feature-card { background: var(--glass-bg); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: 28px 24px; transition: all 0.3s; }
679
+ .niuma-feature-card:hover { border-color: var(--glass-border-hover); background: var(--glass-bg-hover); transform: translateY(-3px); }
680
+ .niuma-feature-icon { font-size: 1.6rem; margin-bottom: 14px; }
681
+ .niuma-feature-card h3 { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--text-hero); margin-bottom: 8px; }
682
+ .niuma-feature-card p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; }
683
+
684
+ .niuma-stack { background: var(--glass-bg); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-border); border-radius: var(--radius-xl); padding: 36px; }
685
+ .niuma-stack-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--text-hero); margin-bottom: 20px; }
686
+ .niuma-stack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
687
+ .niuma-stack-item { padding: 14px 16px; background: var(--glass-bg-active); border-radius: var(--radius-sm); }
688
+ .niuma-stack-label { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
689
+ .niuma-stack-val { font-size: 0.82rem; color: var(--text-primary); font-weight: 500; }
690
+
691
+ @media (max-width: 768px) {
692
+ .niuma-grid { grid-template-columns: 1fr; }
693
+ .niuma-stack-grid { grid-template-columns: repeat(2, 1fr); }
694
+ .niuma-hero-meta { gap: 24px; flex-wrap: wrap; }
695
+ }
696
+
697
+ /* Homepage dual-column ranking */
698
+ .ranking-home-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
699
+
700
+ /* Single hero app card — wider */
701
+ .app-showcase-card--hero { grid-column: 1 / -1; max-width: 720px; margin: 0 auto; }
702
+
703
+ @media (max-width: 1024px) {
704
+ .ranking-cards-container { grid-template-columns: repeat(3, 1fr); }
705
+ .ranking-more-link { min-height: 80px; }
706
+ }
707
+ @media (max-width: 640px) {
708
+ .ranking-cards-container { grid-template-columns: repeat(2, 1fr); }
709
+ }
710
+
711
+ /* Page shared */
712
+ .page-main { padding: 140px 0 80px; position: relative; z-index: 1; min-height: 70vh; }
713
+ .page-header { margin-bottom: 48px; }
714
+ .page-eyebrow { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--aurora-blue); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
715
+ .page-title { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; letter-spacing: -0.03em; color: var(--text-hero); margin-bottom: 8px; }
716
+ .page-desc { font-size: 0.95rem; color: var(--text-muted); }
717
+
718
+ .page-card { background: var(--glass-bg); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-border); border-radius: var(--radius-xl); padding: 48px; }
719
+
720
+ /* About page full layout */
721
+ .about-layout-full { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
722
+
723
+ /* Agent grid full width */
724
+ .agent-grid-full {
725
+ display: grid;
726
+ grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
727
+ gap: 14px;
728
+ }
729
+
730
+ @media (max-width: 1024px) {
731
+ .about-layout-full { grid-template-columns: 1fr; }
732
+ }
733
+ @media (max-width: 768px) {
734
+ .page-main { padding: 110px 0 60px; }
735
+ .page-title { font-size: 1.6rem; }
736
+ .landing-nav { grid-template-columns: repeat(3, 1fr); }
737
+ .page-card { padding: 28px; }
738
+ .agent-grid-full { grid-template-columns: repeat(2, 1fr); }
739
+ }
740
+ @media (max-width: 480px) {
741
+ .agent-grid-full { grid-template-columns: 1fr; }
742
+ }
743
+
744
+ /* =============================================
745
+ Blog search + tags + post pages
746
+ ============================================= */
747
+ .blog-toolbar { margin-bottom: 32px; display: flex; flex-direction: column; gap: 14px; }
748
+ .blog-search { position: relative; max-width: 400px; }
749
+ .blog-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
750
+ .blog-search input { width: 100%; padding: 12px 16px 12px 40px; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-sm); color: var(--text-primary); font-size: 0.9rem; font-family: var(--font-body); transition: border-color 0.2s; }
751
+ .blog-search input:focus { outline: none; border-color: var(--aurora-blue); }
752
+ .blog-search input::placeholder { color: var(--text-muted); }
753
+
754
+ .blog-tags-bar { display: flex; flex-wrap: wrap; gap: 6px; }
755
+ .blog-tag-btn { padding: 5px 14px; border-radius: var(--radius-full); font-size: 0.72rem; font-weight: 500; background: var(--glass-bg); border: 1px solid var(--glass-border); color: var(--text-secondary); cursor: pointer; transition: all 0.2s; font-family: var(--font-display); }
756
+ .blog-tag-btn:hover { border-color: var(--aurora-blue); color: var(--aurora-blue); }
757
+ .blog-tag-btn.active { background: rgba(122,162,255,0.12); border-color: var(--aurora-blue); color: var(--aurora-blue); }
758
+ .blog-tag-btn span { opacity: 0.5; font-size: 0.65rem; }
759
+
760
+ /* Tag Cloud */
761
+ .blog-tags-cloud { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 16px 0; }
762
+ .blog-tag-cloud-btn { padding: 4px 14px; border-radius: var(--radius-full); font-weight: 500; background: transparent; border: 1px solid transparent; color: var(--text-secondary); cursor: pointer; transition: all 0.2s; font-family: var(--font-display); white-space: nowrap; }
763
+ .blog-tag-cloud-btn:hover { color: var(--aurora-blue); border-color: rgba(122,162,255,0.2); background: rgba(122,162,255,0.05); }
764
+ .blog-tag-cloud-btn.active { background: rgba(122,162,255,0.12); border-color: var(--aurora-blue); color: var(--aurora-blue); }
765
+ .blog-tag-cloud-btn span { opacity: 0.4; font-size: 0.65rem; margin-left: 2px; }
766
+ .blog-empty { text-align: center; padding: 60px 20px; color: var(--text-muted); font-size: 0.9rem; }
767
+
768
+ /* Post page enhancements */
769
+ .post-tags-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
770
+ .post-tag-link { font-size: 0.73rem; color: var(--aurora-blue); text-decoration: none; padding: 3px 11px; background: rgba(122,162,255,0.1); border-radius: var(--radius-full); transition: all 0.2s; font-weight: 500; }
771
+ .post-tag-link:hover { background: rgba(122,162,255,0.22); color: var(--aurora-blue); }
772
+
773
+ .post-header { margin-bottom: 40px; }
774
+ .post-breadcrumb { display: inline-flex; align-items: center; gap: 4px; font-size: 0.82rem; font-weight: 500; color: var(--text-muted); text-decoration: none; margin-bottom: 16px; transition: color 0.2s; }
775
+ .post-breadcrumb:hover { color: var(--aurora-green); }
776
+ .post-header h1 { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.03em; color: var(--text-hero); margin-bottom: 16px; }
777
+ .post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
778
+ .post-meta time { font-size: 0.82rem; color: var(--text-muted); }
779
+
780
+ .post-body { font-size: 1.02rem; line-height: 1.85; color: var(--text-secondary); }
781
+ .post-body h1 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: var(--text-hero); margin: 48px 0 18px; letter-spacing: -0.02em; }
782
+ .post-body h2 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--text-hero); margin: 44px 0 14px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.06); letter-spacing: -0.01em; }
783
+ .post-body h3 { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; color: var(--text-hero); margin: 32px 0 10px; }
784
+ .post-body p { margin-bottom: 18px; }
785
+ .post-body a { color: var(--aurora-blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: rgba(122,162,255,0.3); transition: all 0.2s; }
786
+ .post-body a:hover { text-decoration-color: var(--aurora-blue); }
787
+ .post-body strong { color: var(--text-primary); }
788
+ .post-body hr { border: none; border-top: 1px solid var(--stroke-color); margin: 36px 0; }
789
+
790
+ .post-body pre { background: #0d1117; border-radius: var(--radius-md); padding: 44px 24px 20px; overflow-x: auto; margin: 24px 0; border: 1px solid rgba(255,255,255,0.06); position: relative; }
791
+ .post-body pre::before { content: '●●●'; position: absolute; top: 14px; left: 22px; font-size: 10px; letter-spacing: 3px; color: #444; font-family: monospace; }
792
+ .post-body code { background: rgba(122,162,255,0.12); padding: 2px 7px; border-radius: 4px; font-family: var(--font-mono); font-size: 0.86em; color: var(--aurora-pink); border: none; }
793
+ .post-body pre code { background: none; padding: 0; color: #c9d1d9; font-size: 0.84rem; line-height: 1.7; }
794
+ .post-body img { max-width: 100%; border-radius: var(--radius-lg); margin: 28px 0; border: 1px solid rgba(255,255,255,0.04); }
795
+ .post-body blockquote { border-left: 3px solid var(--aurora-green); padding: 16px 24px; margin: 24px 0; background: rgba(94,242,198,0.04); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text-secondary); font-style: italic; }
796
+ .post-body blockquote p { margin-bottom: 6px; }
797
+ .post-body ul, .post-body ol { margin: 16px 0; padding-left: 26px; color: var(--text-secondary); }
798
+ .post-body li { margin-bottom: 8px; padding-left: 2px; }
799
+ .post-body li::marker { color: var(--aurora-blue); }
800
+ .post-body table { border-collapse: collapse; width: 100%; margin: 20px 0; font-size: 0.88rem; }
801
+ .post-body th { text-align: left; padding: 12px 16px; border-bottom: 2px solid var(--stroke-color); font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; color: var(--text-primary); }
802
+ .post-body td { padding: 10px 16px; border-bottom: 1px solid var(--stroke-color); color: var(--text-secondary); }
803
+
804
+ .post-related { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--stroke-color); }
805
+ .post-related-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--text-hero); margin-bottom: 20px; }
806
+ .post-related .blog-grid-4 { grid-template-columns: repeat(3, 1fr); }
807
+ @media (max-width: 768px) { .post-related .blog-grid-4 { grid-template-columns: 1fr; } }
808
+
809
+ /* Hamburger menu */
810
+ .nav-hamburger { display: none; background: none; border: 1px solid var(--glass-border); color: var(--text-secondary); font-size: 1.2rem; padding: 6px 12px; border-radius: var(--radius-sm); cursor: pointer; }
811
+
812
+ @media (max-width: 768px) {
813
+ .nav-hamburger { display: block; }
814
+ .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(3,6,20,0.95); backdrop-filter: blur(30px); flex-direction: column; padding: 16px 20px; border-bottom: 1px solid var(--glass-border); }
815
+ .nav-open .nav-links { display: flex; }
816
+ }
817
+
818
+ /* ===== Back to top ===== */
819
+ .back-to-top { position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px; border-radius: 50%; background: var(--glass-bg); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); color: var(--text-secondary); cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: all 0.3s; z-index: 999; }
820
+ .back-to-top.visible { opacity: 1; pointer-events: auto; }
821
+ .back-to-top:hover { border-color: var(--aurora-blue); color: var(--aurora-blue); transform: translateY(-2px); }
822
+
823
+ /* ===== Reading time ===== */
824
+ .post-reading-time { font-size: 0.8rem; color: var(--text-muted); }
825
+ .post-reading-time::before { content: '·'; margin: 0 8px; }
826
+
827
+ /* ===== Reading progress bar ===== */
828
+ .reading-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 2000; background: transparent; }
829
+ .reading-progress-bar { height: 100%; background: var(--grad-primary); width: 0; transition: width 0.1s linear; }
830
+
831
+ /* ===== Post layout with TOC sidebar ===== */
832
+ .post-layout { display: grid; grid-template-columns: 200px 1fr; gap: 56px; padding: 140px 32px 80px; max-width: calc(780px + 200px + 56px + 80px); margin: 0 auto; justify-content: center; }
833
+ .post-toc { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 140px); overflow-y: auto; padding-right: 8px; }
834
+ .post-toc::-webkit-scrollbar { width: 3px; }
835
+ .post-toc::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }
836
+ .toc-title { font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; opacity: 0.6; }
837
+ .toc-nav { border-left: 1px solid rgba(255,255,255,0.06); }
838
+ .toc-nav a { display: block; padding: 5px 0 5px 14px; font-size: 0.76rem; color: var(--text-muted); text-decoration: none; transition: all 0.2s; border-left: 2px solid transparent; margin-left: -1px; line-height: 1.4; }
839
+ .toc-nav a:hover { color: var(--text-primary); border-left-color: rgba(255,255,255,0.2); }
840
+ .toc-nav a.active { color: var(--aurora-blue); border-left-color: var(--aurora-blue); font-weight: 600; }
841
+ .toc-nav a.toc-h2 { padding-left: 14px; }
842
+ .toc-nav a.toc-h3 { padding-left: 28px; font-size: 0.72rem; }
843
+
844
+ .post-article { min-width: 0; max-width: 780px; margin: 0 auto; }
845
+
846
+ /* ===== Post author card ===== */
847
+ .post-author-card { margin-top: 56px; padding: 24px 28px; background: var(--glass-bg); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); display: flex; gap: 18px; align-items: center; }
848
+ .post-author-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--grad-primary); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; color: #000; flex-shrink: 0; }
849
+ .post-author-name { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: var(--text-hero); margin-bottom: 2px; }
850
+ .post-author-bio { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; }
851
+
852
+ /* ===== Prev/Next nav ===== */
853
+ .post-pagination { display: flex; gap: 20px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--stroke-color); }
854
+ .pagination-link { flex: 1; padding: 24px 28px; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-md); text-decoration: none; transition: all 0.3s; display: flex; flex-direction: column; }
855
+ .pagination-link:hover { border-color: var(--glass-border-hover); background: var(--glass-bg-hover); transform: translateY(-2px); }
856
+ .pagination-prev { align-items: flex-start; }
857
+ .pagination-next { align-items: flex-end; margin-left: auto; }
858
+ .pagination-label { display: block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
859
+ .pagination-title { font-size: 0.9rem; font-weight: 600; color: var(--text-secondary); max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
860
+
861
+ /* ===== Code copy button ===== */
862
+ .code-copy-btn { position: absolute; top: 10px; right: 14px; padding: 4px 10px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: 5px; color: var(--text-muted); font-size: 0.68rem; font-family: var(--font-display); cursor: pointer; transition: all 0.2s; font-weight: 600; letter-spacing: 0.03em; }
863
+ .code-copy-btn:hover { background: rgba(255,255,255,0.12); color: var(--text-primary); border-color: rgba(255,255,255,0.15); }
864
+
865
+ /* Comments */
866
+ .post-comments { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--stroke-color); }
867
+ .post-comments-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--text-hero); margin-bottom: 28px; display: flex; align-items: center; gap: 10px; }
868
+ .post-comments-title::after { content: ''; flex: 1; height: 1px; background: var(--stroke-color); }
869
+
870
+ /* Comment List */
871
+ .comment-list { margin-bottom: 32px; }
872
+ .comment-item { display: flex; gap: 14px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
873
+ .comment-item:last-child { border-bottom: none; }
874
+ .comment-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--grad-primary); color: #000; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; flex-shrink: 0; }
875
+ .comment-body-wrap { flex: 1; min-width: 0; }
876
+ .comment-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
877
+ .comment-author { font-size: 0.84rem; font-weight: 600; color: var(--text-primary); }
878
+ .comment-date { font-size: 0.7rem; color: var(--text-muted); }
879
+ .comment-text { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; word-break: break-word; }
880
+ .comment-reply-btn { margin-top: 9px; padding: 3px 10px; background: none; border: 1px solid rgba(255,255,255,0.08); border-radius: 4px; color: var(--text-muted); font-size: 0.7rem; cursor: pointer; transition: all 0.2s; }
881
+ .comment-reply-btn:hover { color: var(--aurora-blue); border-color: var(--aurora-blue); }
882
+
883
+ /* Replies */
884
+ .comment-replies { margin-top: 14px; margin-left: 16px; padding-left: 18px; border-left: 2px solid rgba(255,255,255,0.06); }
885
+ .comment-reply { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.03); }
886
+ .comment-reply:last-child { border-bottom: none; }
887
+
888
+ /* Reply form */
889
+ .reply-form-wrap { margin-top: 8px; }
890
+ .reply-form { margin-top: 8px; padding: 12px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; display: flex; flex-direction: column; gap: 8px; }
891
+ .reply-form textarea { width: 100%; padding: 10px 12px; background: var(--bg); border: 1px solid var(--glass-border); border-radius: 6px; color: var(--text-primary); font-size: 0.82rem; font-family: var(--font-body); resize: vertical; transition: border 0.2s; }
892
+ .reply-form textarea:focus { outline: none; border-color: var(--aurora-blue); }
893
+ .reply-form-actions { display: flex; justify-content: flex-end; gap: 8px; }
894
+ .reply-cancel-btn { padding: 5px 14px; background: none; border: none; color: var(--text-muted); font-size: 0.75rem; cursor: pointer; }
895
+ .reply-cancel-btn:hover { color: var(--text-primary); }
896
+ .reply-submit-btn { padding: 5px 16px; background: var(--grad-primary); color: #000; border: none; border-radius: 5px; font-size: 0.75rem; font-weight: 600; cursor: pointer; }
897
+ .reply-submit-btn:hover { filter: brightness(1.15); }
898
+
899
+ /* Empty state */
900
+ .comment-empty { text-align: center; padding: 44px 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
901
+ .comment-empty p { color: var(--text-muted); font-size: 0.85rem; margin: 0; }
902
+
903
+ /* Comment Form */
904
+ .comment-form { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-md); padding: 22px; display: flex; gap: 14px; }
905
+ .comment-form-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad-primary); color: #000; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; flex-shrink: 0; transition: background 0.3s; }
906
+ .comment-form-inputs { flex: 1; display: flex; flex-direction: column; gap: 10px; }
907
+ .comment-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.04); }
908
+ .comment-input { padding: 10px 14px; background: var(--bg); border: 1px solid var(--glass-border); border-radius: var(--radius-sm); color: var(--text-primary); font-size: 0.84rem; font-family: var(--font-body); transition: all 0.2s; }
909
+ .comment-input:focus { outline: none; border-color: var(--aurora-blue); background: rgba(0,0,0,0.2); }
910
+ .comment-input-name { width: 180px; }
911
+ .comment-input-body { width: 100%; resize: vertical; min-height: 40px; }
912
+ .comment-char-count { font-size: 0.68rem; color: var(--text-muted); }
913
+ .comment-submit-btn { padding: 9px 22px; background: var(--grad-primary); color: #000; border: none; border-radius: var(--radius-sm); font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; cursor: pointer; transition: all 0.2s; }
914
+ .comment-submit-btn:hover { filter: brightness(1.15); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(94,242,198,0.3); }
915
+ .comment-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
916
+ .comment-status { font-size: 0.72rem; color: var(--text-muted); min-height: 16px; }
917
+ .comment-status-ok { color: var(--aurora-green); }
918
+ .comment-status-err { color: var(--aurora-coral); }
919
+
920
+ /* Timeline */
921
+ .timeline-list { display: flex; flex-direction: column; gap: 0; }
922
+ .timeline-item { display: flex; gap: 16px; position: relative; }
923
+ .timeline-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--grad-primary); flex-shrink: 0; margin-top: 18px; position: relative; z-index: 1; }
924
+ .timeline-item:not(:last-child) .timeline-dot::after { content: ''; position: absolute; top: 14px; left: 5px; width: 2px; height: calc(100% + 8px); background: var(--stroke-color); }
925
+ .timeline-card { background: var(--glass-bg); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: var(--radius-md); padding: 18px 22px; flex: 1; margin-bottom: 20px; transition: all 0.3s; }
926
+ .timeline-card:hover { border-color: var(--glass-border-hover); background: var(--glass-bg-hover); }
927
+ .timeline-year { font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; color: var(--aurora-blue); margin-bottom: 4px; display: block; }
928
+ .timeline-card h4 { font-family: var(--font-display); font-size: 0.95rem; color: var(--text-hero); margin-bottom: 4px; }
929
+ .timeline-card p { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; }
930
+
931
+ /* Changelog */
932
+ .changelog { margin-top: 48px; }
933
+ .changelog-item { padding: 16px 0; border-bottom: 1px solid var(--stroke-color); }
934
+ .changelog-version { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; color: var(--aurora-green); }
935
+ .changelog-date { font-size: 0.72rem; color: var(--text-muted); margin-left: 10px; }
936
+ .changelog-desc { font-size: 0.85rem; color: var(--text-secondary); margin-top: 4px; line-height: 1.5; }
937
+
938
+ /* ===== Share buttons ===== */
939
+ .post-share { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.04); }
940
+ .share-label { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: 10px; opacity: 0.5; }
941
+ .share-btns { display: flex; gap: 8px; }
942
+ .share-btn { width: 38px; height: 38px; border-radius: 50%; background: var(--glass-bg); border: 1px solid var(--glass-border); color: var(--text-muted); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
943
+ .share-btn:hover { border-color: var(--aurora-blue); color: var(--aurora-blue); background: rgba(122,162,255,0.1); transform: translateY(-1px); }
944
+
945
+ @media (max-width: 1024px) {
946
+ .post-layout { grid-template-columns: 1fr; }
947
+ .post-toc { display: none; }
948
+ }
949
+
950
+ /* When TOC has no headings, article goes full width */
951
+ .post-layout:has(.post-toc[style*="display: none"]) { grid-template-columns: 1fr; max-width: calc(960px + 240px); }
952
+
953
+ /* ===== Skeleton loading ===== */
954
+ .skeleton {
955
+ background: linear-gradient(90deg, var(--glass-bg) 25%, var(--glass-bg-hover) 50%, var(--glass-bg) 75%);
956
+ background-size: 200% 100%;
957
+ animation: shimmer 1.5s ease-in-out infinite;
958
+ border-radius: var(--radius-sm);
959
+ }
960
+ @keyframes shimmer {
961
+ 0% { background-position: 200% 0; }
962
+ 100% { background-position: -200% 0; }
963
+ }
964
+ .skeleton-card {
965
+ height: 180px;
966
+ border-radius: var(--radius-lg);
967
+ background: var(--glass-bg);
968
+ border: 1px solid var(--glass-border);
969
+ padding: 28px 24px;
970
+ }
971
+ .skeleton-card .skeleton-line { height: 12px; margin-bottom: 12px; }
972
+ .skeleton-card .skeleton-line:first-child { width: 30%; height: 10px; }
973
+ .skeleton-card .skeleton-line:nth-child(2) { width: 80%; height: 18px; }
974
+ .skeleton-card .skeleton-line:nth-child(3) { width: 50%; height: 12px; }
975
+ .skeleton-card .skeleton-line:last-child { width: 70%; height: 12px; }
976
+
977
+ /* ===== Focus-visible accessibility ===== */
978
+ :focus-visible {
979
+ outline: 2px solid var(--aurora-blue);
980
+ outline-offset: 2px;
981
+ border-radius: 4px;
982
+ }
983
+ input:focus-visible, textarea:focus-visible, select:focus-visible, button:focus-visible {
984
+ outline: 2px solid var(--aurora-blue);
985
+ outline-offset: 2px;
986
+ }
987
+
988
+ /* ===== Work Detail Page ===== */
989
+ .work-detail {
990
+ display: flex; gap: 40px; align-items: flex-start;
991
+ padding: 20px 0 60px; max-width: 960px;
992
+ }
993
+ .work-detail-cover-wrap {
994
+ flex-shrink: 0; width: 56px;
995
+ }
996
+ .work-detail-cover {
997
+ width: 100%; height: auto; aspect-ratio: 3/4;
998
+ object-fit: cover; border-radius: var(--radius-lg);
999
+ box-shadow: 0 8px 40px rgba(0,0,0,0.4);
1000
+ }
1001
+ .work-detail-info {
1002
+ flex: 1; min-width: 0;
1003
+ }
1004
+ .work-detail-category {
1005
+ display: flex; gap: 10px; align-items: center; margin-bottom: 12px;
1006
+ }
1007
+ .work-detail-badge {
1008
+ padding: 4px 14px; border-radius: var(--radius-full);
1009
+ font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
1010
+ text-transform: uppercase;
1011
+ }
1012
+ .work-detail-badge--anime { background: rgba(94,242,198,0.12); color: var(--aurora-green); }
1013
+ .work-detail-badge--manga { background: rgba(244,114,182,0.12); color: var(--aurora-pink); }
1014
+ .work-detail-badge--game { background: rgba(122,162,255,0.12); color: var(--aurora-blue); }
1015
+ .work-detail-type {
1016
+ font-size: 0.7rem; color: var(--text-muted); font-family: var(--font-mono);
1017
+ }
1018
+ .work-detail-title {
1019
+ font-family: var(--font-display); font-size: 2rem; font-weight: 800;
1020
+ letter-spacing: -0.03em; color: var(--text-hero); line-height: 1.25;
1021
+ margin-bottom: 14px;
1022
+ }
1023
+ .work-detail-rating {
1024
+ display: flex; align-items: baseline; gap: 10px; margin-bottom: 20px;
1025
+ }
1026
+ .work-detail-stars {
1027
+ font-size: 1.6rem; color: var(--aurora-amber, #fbbf24); letter-spacing: 2px;
1028
+ }
1029
+ .work-detail-score {
1030
+ font-family: var(--font-display); font-size: 2.4rem; font-weight: 800;
1031
+ color: var(--aurora-green);
1032
+ }
1033
+ .work-detail-desc {
1034
+ font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7;
1035
+ margin-bottom: 24px; max-width: 560px;
1036
+ }
1037
+ .work-detail-meta {
1038
+ display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 28px;
1039
+ padding: 16px; background: var(--glass-bg); border-radius: var(--radius-sm);
1040
+ border: 1px solid var(--glass-border);
1041
+ }
1042
+ .work-detail-meta-item {
1043
+ display: flex; flex-direction: column; gap: 3px;
1044
+ }
1045
+ .work-detail-meta-label {
1046
+ font-size: 0.65rem; color: var(--text-muted); font-weight: 600;
1047
+ letter-spacing: 0.05em; text-transform: uppercase;
1048
+ }
1049
+ .work-detail-meta-value {
1050
+ font-size: 0.82rem; color: var(--text-primary); font-weight: 500;
1051
+ }
1052
+ .work-detail-actions {
1053
+ display: flex; gap: 12px; flex-wrap: wrap;
1054
+ }
1055
+ .work-detail-btn {
1056
+ display: inline-flex; align-items: center; gap: 6px;
1057
+ padding: 10px 22px; border-radius: var(--radius-full);
1058
+ font-size: 0.82rem; font-weight: 600; cursor: pointer;
1059
+ transition: all 0.2s; text-decoration: none;
1060
+ }
1061
+ .work-detail-btn--primary {
1062
+ background: var(--aurora-blue); color: #fff; border: none;
1063
+ }
1064
+ .work-detail-btn--primary:hover {
1065
+ background: rgba(122,162,255,0.8); transform: translateY(-1px);
1066
+ }
1067
+ .work-detail-btn--ghost {
1068
+ background: transparent; color: var(--text-secondary);
1069
+ border: 1px solid var(--glass-border);
1070
+ }
1071
+ .work-detail-btn--ghost:hover {
1072
+ color: var(--text-primary); border-color: var(--glass-border-hover);
1073
+ }
1074
+
1075
+ @media (max-width: 768px) {
1076
+ .work-detail { flex-direction: column; gap: 24px; }
1077
+ .work-detail-cover-wrap { width: 56px; margin: 0 auto; }
1078
+ .work-detail-title { font-size: 1.5rem; }
1079
+ .work-detail-score { font-size: 1.8rem; }
1080
+ }
1081
+
1082
+ /* ===== Page transition ===== */
1083
+ .page-main, .post-layout {
1084
+ animation: pageFadeIn 0.35s var(--ease-out);
1085
+ }
1086
+ @keyframes pageFadeIn {
1087
+ from { opacity: 0; transform: translateY(8px); }
1088
+ to { opacity: 1; transform: translateY(0); }
1089
+ }
1090
+
1091
+ /* ===== Search keyboard hint ===== */
1092
+ .blog-search input::after {
1093
+ content: '';
1094
+ }
1095
+
1096
+ /* ===== Language switcher ===== */
1097
+ .lang-switch {
1098
+ background: none;
1099
+ border: 1px solid var(--glass-border, rgba(255,255,255,0.07));
1100
+ color: var(--text-muted, #5a6684);
1101
+ width: 34px; height: 34px;
1102
+ border-radius: 50%;
1103
+ display: flex; align-items: center; justify-content: center;
1104
+ font-size: 0.8rem;
1105
+ font-weight: 600;
1106
+ font-family: inherit;
1107
+ cursor: pointer;
1108
+ transition: all 0.2s;
1109
+ margin-left: 4px;
1110
+ flex-shrink: 0;
1111
+ }
1112
+ .lang-switch:hover {
1113
+ color: var(--text-primary, #fff);
1114
+ border-color: var(--aurora-green, #5ef2c6);
1115
+ background: rgba(94, 242, 198, 0.1);
1116
+ }
1117
+
1118
+ /* ===== Douyin iframe hero ===== */
1119
+ .hero-douyin-frame {
1120
+ border: 0;
1121
+ width: 100%;
1122
+ height: 100%;
1123
+ position: absolute;
1124
+ top: 0;
1125
+ left: 0;
1126
+ }
1127
+ .hero-bg-cover {
1128
+ background: linear-gradient(135deg, #0a0a1a 0%, #1a0a2e 50%, #0a1a2e 100%);
1129
+ }
1130
+ .hero-video-el iframe {
1131
+ width: 100%;
1132
+ height: 100%;
1133
+ border: 0;
1134
+ }
1135
+
1136
+ /* ===== Hero 视频速度自适应覆盖层 ===== */
1137
+ .hero-poster-overlay {
1138
+ position: absolute;
1139
+ top: 0; left: 0; right: 0; bottom: 0;
1140
+ background: rgba(3, 6, 20, 0.5);
1141
+ display: flex;
1142
+ flex-direction: column;
1143
+ align-items: center;
1144
+ justify-content: center;
1145
+ cursor: pointer;
1146
+ z-index: 3;
1147
+ transition: opacity 0.3s;
1148
+ }
1149
+ .hero-poster-overlay:hover {
1150
+ background: rgba(3, 6, 20, 0.4);
1151
+ }
1152
+ .hero-poster-play {
1153
+ width: 80px; height: 80px;
1154
+ border-radius: 50%;
1155
+ border: 3px solid rgba(255,255,255,0.8);
1156
+ display: flex;
1157
+ align-items: center;
1158
+ justify-content: center;
1159
+ font-size: 32px;
1160
+ color: #fff;
1161
+ transition: transform 0.3s, border-color 0.3s;
1162
+ }
1163
+ .hero-poster-overlay:hover .hero-poster-play {
1164
+ transform: scale(1.1);
1165
+ border-color: var(--aurora-green);
1166
+ color: var(--aurora-green);
1167
+ }
1168
+ .hero-poster-hint {
1169
+ margin-top: 16px;
1170
+ color: rgba(255,255,255,0.6);
1171
+ font-size: 0.85rem;
1172
+ font-family: var(--font-body);
1173
+ }