voc-styles.js 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506
  1. // VOC 报告 CSS 样式(海报级 · Linear/Stripe 风)
  2. module.exports = `<style>
  3. :root {
  4. --bg-0: #0A0A0A;
  5. --bg-1: #111111;
  6. --bg-2: #1A1A1A;
  7. --bg-3: #252525;
  8. --border: rgba(255,255,255,0.08);
  9. --border-strong: rgba(255,255,255,0.16);
  10. --text-1: #F5F5F5;
  11. --text-2: #A8A8A8;
  12. --text-3: #6B6B6B;
  13. --amber: #F5A623;
  14. --amber-glow: rgba(245,166,35,0.15);
  15. --green: #00DC82;
  16. --purple: #8B5CF6;
  17. --rose: #FF4D8D;
  18. --blue: #3B82F6;
  19. --red: #EF4444;
  20. --font-head: 'Inter','Noto Sans SC','PingFang SC','Hiragino Sans GB','Microsoft YaHei','微软雅黑','Source Han Sans CN',system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
  21. --font-body: 'Noto Sans SC','Inter','PingFang SC','Hiragino Sans GB','Microsoft YaHei','微软雅黑','Source Han Sans CN',system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
  22. --font-mono: 'JetBrains Mono','SF Mono','Fira Code','Cascadia Code',Consolas,'Courier New',monospace;
  23. --max-w: 1280px;
  24. --radius-sm: 8px;
  25. --radius-md: 12px;
  26. --radius-lg: 20px;
  27. }
  28. * { margin: 0; padding: 0; box-sizing: border-box; }
  29. html {
  30. scroll-behavior: smooth;
  31. font-size: 16px;
  32. /* 轻 snap:不打断流式浏览,但在接近 slide 时会贴合 */
  33. scroll-snap-type: y proximity;
  34. }
  35. @media (prefers-reduced-motion: reduce) {
  36. html { scroll-snap-type: none; scroll-behavior: auto; }
  37. }
  38. body {
  39. font-family: var(--font-body);
  40. background: var(--bg-0);
  41. color: var(--text-1);
  42. line-height: 1.65;
  43. -webkit-font-smoothing: antialiased;
  44. overflow-x: hidden;
  45. position: relative;
  46. }
  47. /* 全局 ambient 光晕 —— 伴随 slide 切换缓慢漂移 */
  48. body::before {
  49. content: '';
  50. position: fixed; inset: 0; pointer-events: none; z-index: 0;
  51. background:
  52. radial-gradient(ellipse 900px 700px at var(--amb-x, 20%) var(--amb-y, 25%), rgba(245,166,35,0.10), transparent 60%),
  53. radial-gradient(ellipse 800px 600px at calc(100% - var(--amb-x, 20%)) calc(100% - var(--amb-y, 25%)), rgba(139,92,246,0.07), transparent 60%);
  54. transition: background 1.4s cubic-bezier(.2,.7,.2,1);
  55. }
  56. body::after {
  57. content: '';
  58. position: fixed; inset: 0; pointer-events: none; z-index: 0;
  59. background-image:
  60. linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
  61. linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  62. background-size: 80px 80px;
  63. mask-image: radial-gradient(ellipse 90% 95% at 50% 50%, black 0%, transparent 85%);
  64. -webkit-mask-image: radial-gradient(ellipse 90% 95% at 50% 50%, black 0%, transparent 85%);
  65. }
  66. main.deck { position: relative; z-index: 1; }
  67. ::selection { background: var(--amber); color: #000; }
  68. a { color: inherit; text-decoration: none; }
  69. img { max-width: 100%; display: block; }
  70. .text-hero { font-family: var(--font-head); font-weight: 900; letter-spacing: -0.04em; line-height: 0.95; font-size: clamp(4rem, 12vw, 10rem); }
  71. .text-poster { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; font-size: clamp(2.5rem, 6vw, 5rem); }
  72. .text-h1 { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; font-size: clamp(2rem, 4vw, 3.5rem); }
  73. .text-h2 { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; font-size: clamp(1.4rem, 2.5vw, 2rem); }
  74. .text-h3 { font-weight: 600; font-size: clamp(1.05rem, 1.6vw, 1.3rem); letter-spacing: -0.01em; }
  75. .text-body { font-size: clamp(0.92rem, 1.1vw, 1rem); line-height: 1.75; color: var(--text-2); }
  76. .text-sm { font-size: 0.85rem; color: var(--text-2); }
  77. .text-xs { font-size: 0.72rem; color: var(--text-3); letter-spacing: 0.02em; }
  78. .text-mono { font-family: var(--font-mono); }
  79. .text-amber { color: var(--amber); }
  80. .text-green { color: var(--green); }
  81. .text-purple { color: var(--purple); }
  82. .text-rose { color: var(--rose); }
  83. .text-blue { color: var(--blue); }
  84. .text-red { color: var(--red); }
  85. section.report-section {
  86. min-height: 100vh;
  87. padding: clamp(60px, 10vh, 120px) clamp(24px, 6vw, 80px);
  88. position: relative;
  89. border-bottom: 1px solid var(--border);
  90. display: flex;
  91. flex-direction: column;
  92. justify-content: center;
  93. scroll-snap-align: start;
  94. scroll-snap-stop: always;
  95. overflow: hidden;
  96. isolation: isolate;
  97. }
  98. /* 每一张 slide 的角标:大号数字 */
  99. section.report-section::before {
  100. content: attr(data-slide-num);
  101. position: absolute;
  102. top: clamp(20px, 3vh, 36px); right: clamp(24px, 4vw, 60px);
  103. font-family: var(--font-mono); font-weight: 600;
  104. font-size: clamp(0.68rem, 0.75vw, 0.78rem);
  105. letter-spacing: 0.25em; color: var(--text-3);
  106. z-index: 4; pointer-events: none;
  107. }
  108. /* slide 专属渐变层(通过 CSS 变量驱动色调) */
  109. section.report-section::after {
  110. content: '';
  111. position: absolute; inset: 0; pointer-events: none; z-index: -1;
  112. background:
  113. radial-gradient(ellipse 70% 60% at 85% 15%, var(--slide-glow-1, rgba(245,166,35,0.06)), transparent 55%),
  114. radial-gradient(ellipse 60% 50% at 15% 85%, var(--slide-glow-2, rgba(139,92,246,0.04)), transparent 55%);
  115. opacity: 0; transition: opacity 1s cubic-bezier(.2,.7,.2,1);
  116. }
  117. section.report-section.in-view::after { opacity: 1; }
  118. section.report-section[data-tone="amber"] { --slide-glow-1: rgba(245,166,35,0.10); --slide-glow-2: rgba(245,166,35,0.04); }
  119. section.report-section[data-tone="rose"] { --slide-glow-1: rgba(255,77,141,0.09); --slide-glow-2: rgba(255,77,141,0.04); }
  120. section.report-section[data-tone="green"] { --slide-glow-1: rgba(0,220,130,0.08); --slide-glow-2: rgba(0,220,130,0.03); }
  121. section.report-section[data-tone="purple"]{ --slide-glow-1: rgba(139,92,246,0.10); --slide-glow-2: rgba(139,92,246,0.04); }
  122. section.report-section[data-tone="blue"] { --slide-glow-1: rgba(59,130,246,0.08); --slide-glow-2: rgba(59,130,246,0.03); }
  123. section.report-section[data-tone="orange"]{ --slide-glow-1: rgba(255,140,66,0.10); --slide-glow-2: rgba(255,140,66,0.04); }
  124. .section-inner { width: 100%; max-width: var(--max-w); margin: 0 auto; position: relative; }
  125. .section-head { margin-bottom: clamp(32px, 5vh, 64px); }
  126. .section-eyebrow {
  127. display: inline-flex; align-items: center; gap: 10px;
  128. font-family: var(--font-mono); font-size: 0.72rem;
  129. letter-spacing: 0.18em; text-transform: uppercase;
  130. color: var(--amber); font-weight: 500; margin-bottom: 18px;
  131. }
  132. .section-eyebrow::before { content: ''; display: inline-block; width: 24px; height: 1px; background: var(--amber); }
  133. .section-sub { color: var(--text-2); font-size: 1.05rem; max-width: 720px; margin-top: 14px; line-height: 1.8; }
  134. .grid { display: grid; gap: clamp(14px, 1.6vw, 22px); }
  135. .grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
  136. .grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  137. .grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  138. .card {
  139. background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.008) 100%), var(--bg-1);
  140. border: 1px solid var(--border);
  141. border-radius: var(--radius-md);
  142. padding: clamp(20px, 2.2vw, 32px);
  143. position: relative;
  144. backdrop-filter: blur(8px);
  145. -webkit-backdrop-filter: blur(8px);
  146. transition: transform 0.4s cubic-bezier(.2,.7,.2,1), border-color 0.3s ease, box-shadow 0.4s ease;
  147. }
  148. .card:hover {
  149. border-color: var(--border-strong);
  150. transform: translateY(-3px);
  151. box-shadow: 0 12px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(245,166,35,0.08);
  152. }
  153. .card.card-glow { box-shadow: 0 0 40px rgba(245,166,35,0.06); }
  154. .card-accent {
  155. border-left: 3px solid var(--amber);
  156. border-top: 1px solid var(--border); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  157. }
  158. .metric {
  159. background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--radius-md);
  160. padding: clamp(24px, 2.5vw, 36px); position: relative; overflow: hidden;
  161. }
  162. .metric::before {
  163. content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  164. background: linear-gradient(90deg, var(--amber), transparent); opacity: 0.6;
  165. }
  166. .metric .metric-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
  167. .metric .metric-value { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.5rem); letter-spacing: -0.03em; line-height: 1; color: var(--text-1); margin-bottom: 8px; }
  168. .metric .metric-unit { font-family: var(--font-mono); font-size: 0.85rem; color: var(--amber); font-weight: 500; }
  169. .metric .metric-sub { margin-top: 14px; font-size: 0.82rem; color: var(--text-2); line-height: 1.5; }
  170. .tag {
  171. display: inline-flex; align-items: center; gap: 6px;
  172. padding: 4px 10px; border-radius: 4px; font-size: 0.72rem; font-weight: 500;
  173. letter-spacing: 0.02em; font-family: var(--font-head);
  174. background: rgba(245,166,35,0.1); color: var(--amber); border: 1px solid rgba(245,166,35,0.22);
  175. }
  176. .tag.green { background: rgba(0,220,130,0.08); color: var(--green); border-color: rgba(0,220,130,0.2); }
  177. .tag.purple { background: rgba(139,92,246,0.08); color: var(--purple); border-color: rgba(139,92,246,0.2); }
  178. .tag.rose { background: rgba(255,77,141,0.08); color: var(--rose); border-color: rgba(255,77,141,0.2); }
  179. .tag.gray { background: rgba(255,255,255,0.04); color: var(--text-2); border-color: var(--border); }
  180. .cover-hero {
  181. position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  182. padding: clamp(40px, 8vh, 100px) clamp(24px, 6vw, 80px);
  183. background:
  184. radial-gradient(ellipse 60% 80% at 30% 30%, rgba(245,166,35,0.08) 0%, transparent 70%),
  185. radial-gradient(ellipse 40% 60% at 80% 70%, rgba(139,92,246,0.05) 0%, transparent 70%),
  186. var(--bg-0);
  187. }
  188. .cover-grid-bg {
  189. position: absolute; inset: 0;
  190. background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
  191. linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  192. background-size: 64px 64px; pointer-events: none;
  193. mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, black 0%, transparent 80%);
  194. -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, black 0%, transparent 80%);
  195. }
  196. .cover-content { position: relative; z-index: 2; max-width: var(--max-w); }
  197. .cover-meta {
  198. display: flex; align-items: center; gap: 16px;
  199. font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-3);
  200. letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 32px;
  201. }
  202. .cover-meta::before { content: ''; width: 32px; height: 2px; background: var(--amber); }
  203. .cover-title-stack { display: flex; flex-direction: column; gap: 4px; }
  204. .cover-title {
  205. font-family: var(--font-head); font-weight: 900; letter-spacing: -0.04em;
  206. line-height: 0.92; font-size: clamp(3.5rem, 11vw, 9rem);
  207. color: #fff; /* 兜底纯色:若渐变裁剪失效,至少显示白色粗体 */
  208. background: linear-gradient(135deg, #fff 30%, rgba(245,166,35,0.9) 100%);
  209. -webkit-background-clip: text; background-clip: text;
  210. -webkit-text-fill-color: transparent; /* 代替 color: transparent,不支持时自动退回 color */
  211. }
  212. .cover-sub { font-size: clamp(1rem, 1.6vw, 1.4rem); color: var(--text-2); max-width: 780px; margin-top: 32px; line-height: 1.7; }
  213. .cover-stats {
  214. display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 28px);
  215. margin-top: clamp(48px, 8vh, 96px); padding-top: clamp(24px, 4vh, 48px);
  216. border-top: 1px solid var(--border); max-width: 900px;
  217. }
  218. .cover-stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 2.8vw, 2.4rem); letter-spacing: -0.02em; color: var(--amber); }
  219. .cover-stat .lbl { font-size: 0.78rem; color: var(--text-3); margin-top: 4px; font-family: var(--font-mono); letter-spacing: 0.05em; text-transform: uppercase; }
  220. @media (max-width: 720px) { .cover-stats { grid-template-columns: repeat(2, 1fr); } }
  221. .nav-rail {
  222. position: fixed; left: clamp(16px, 2vw, 32px); top: 50%; transform: translateY(-50%);
  223. z-index: 100; display: flex; flex-direction: column; gap: 12px;
  224. }
  225. .nav-dot {
  226. width: 32px; height: 3px; border-radius: 2px;
  227. background: rgba(255,255,255,0.14); cursor: pointer;
  228. transition: all 0.5s cubic-bezier(.2,.7,.2,1); position: relative;
  229. display: flex; align-items: center;
  230. }
  231. .nav-dot.active { background: var(--amber); width: 48px; box-shadow: 0 0 12px rgba(245,166,35,0.4); }
  232. .nav-dot:hover { background: rgba(255,255,255,0.3); }
  233. .nav-dot::after {
  234. content: attr(data-tip); position: absolute; left: calc(100% + 16px); top: 50%;
  235. transform: translateY(-50%) translateX(-6px);
  236. background: rgba(20,20,20,0.92); backdrop-filter: blur(8px);
  237. border: 1px solid var(--border); padding: 6px 12px; border-radius: 6px;
  238. font-size: 0.72rem; color: var(--text-1);
  239. white-space: nowrap; opacity: 0; pointer-events: none;
  240. transition: opacity 0.25s ease, transform 0.25s ease;
  241. font-family: var(--font-mono); letter-spacing: 0.04em;
  242. }
  243. .nav-dot:hover::after, .nav-dot.active::after { opacity: 1; transform: translateY(-50%) translateX(0); }
  244. .top-bar {
  245. position: fixed; top: 0; left: 0; right: 0;
  246. display: flex; justify-content: space-between; align-items: center;
  247. padding: 18px clamp(24px, 4vw, 48px); z-index: 99; pointer-events: none;
  248. background: linear-gradient(180deg, rgba(10,10,10,0.85) 0%, transparent 100%);
  249. }
  250. .brand-logo { font-family: var(--font-head); font-weight: 900; font-size: 0.88rem; letter-spacing: 0.2em; }
  251. .brand-logo .dot { color: var(--amber); }
  252. .progress-line {
  253. position: fixed; top: 0; left: 0; height: 2px;
  254. background: linear-gradient(90deg, var(--amber), var(--rose));
  255. z-index: 1000; width: 0%; transition: width 0.3s ease;
  256. }
  257. .chart-container {
  258. width: 100%; min-height: 340px;
  259. background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px;
  260. }
  261. .voice-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
  262. .voice-card {
  263. background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--radius-md);
  264. padding: 24px; position: relative; transition: all 0.3s ease;
  265. }
  266. .voice-card::before {
  267. content: '"'; position: absolute; top: 8px; left: 12px;
  268. font-family: Georgia, serif; font-size: 60px; color: var(--amber);
  269. opacity: 0.3; line-height: 1; pointer-events: none;
  270. }
  271. .voice-card .voice-content { font-size: 0.96rem; line-height: 1.7; color: var(--text-1); margin: 20px 0 16px 24px; font-weight: 400; }
  272. .voice-card .voice-meta {
  273. display: flex; justify-content: space-between; align-items: center;
  274. padding-top: 12px; border-top: 1px solid var(--border);
  275. font-size: 0.75rem; color: var(--text-3);
  276. }
  277. .voice-card .voice-likes { color: var(--amber); font-weight: 600; font-family: var(--font-mono); }
  278. .voice-card.hot { border-color: rgba(245,166,35,0.3); }
  279. .voice-card.hot::before { opacity: 0.5; }
  280. .voice-card:hover { border-color: var(--amber); transform: translateY(-3px); }
  281. .note-card {
  282. background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--radius-md);
  283. padding: 20px; display: flex; flex-direction: column; gap: 12px;
  284. transition: all 0.3s ease;
  285. }
  286. .note-card:hover { border-color: var(--amber); transform: translateY(-3px); }
  287. .note-rank { font-family: var(--font-mono); font-weight: 700; font-size: 0.75rem; color: var(--amber); letter-spacing: 0.15em; }
  288. .note-title {
  289. font-size: 1rem; line-height: 1.45; font-weight: 600; color: var(--text-1);
  290. overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  291. }
  292. .note-stats {
  293. display: flex; gap: 16px; padding-top: 12px; border-top: 1px solid var(--border);
  294. font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-2);
  295. }
  296. .note-stats .st { display: flex; flex-direction: column; gap: 2px; }
  297. .note-stats .st .n { color: var(--text-1); font-weight: 600; font-size: 1rem; }
  298. .note-stats .st .l { font-size: 0.65rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.1em; }
  299. .theme-poster {
  300. background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--radius-md);
  301. padding: 28px; position: relative; overflow: hidden;
  302. }
  303. .theme-poster.pain { border-top: 3px solid var(--rose); }
  304. .theme-poster.bright { border-top: 3px solid var(--green); }
  305. .theme-poster.scene { border-top: 3px solid var(--blue); }
  306. .theme-poster h4 { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; margin-bottom: 8px; }
  307. .theme-poster .count { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-3); margin-bottom: 16px; }
  308. .theme-poster .count .num { font-size: 1.4rem; font-weight: 700; color: var(--text-1); margin-right: 4px; }
  309. .theme-poster .examples { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
  310. .theme-poster .examples li {
  311. padding: 10px 14px; background: var(--bg-2); border-left: 2px solid var(--border-strong);
  312. border-radius: 4px; font-size: 0.85rem; line-height: 1.55; color: var(--text-2);
  313. }
  314. .theme-poster.pain .examples li { border-left-color: var(--rose); }
  315. .theme-poster.bright .examples li { border-left-color: var(--green); }
  316. .theme-poster.scene .examples li { border-left-color: var(--blue); }
  317. .insight-banner {
  318. min-height: 260px; background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--radius-md);
  319. padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column;
  320. justify-content: space-between; gap: 32px; position: relative; overflow: hidden;
  321. }
  322. .insight-banner::before {
  323. content: attr(data-num); position: absolute; top: 16px; right: 24px;
  324. font-family: var(--font-head); font-weight: 900; font-size: clamp(4rem, 9vw, 7rem);
  325. line-height: 1; color: var(--bg-3); letter-spacing: -0.05em; pointer-events: none;
  326. }
  327. .insight-banner h3 {
  328. font-family: var(--font-head); font-weight: 800;
  329. font-size: clamp(1.5rem, 2.8vw, 2.2rem); letter-spacing: -0.02em;
  330. line-height: 1.25; color: var(--text-1); max-width: 85%;
  331. }
  332. .insight-banner h3 strong { color: var(--amber); font-weight: 900; }
  333. .insight-banner .insight-body { color: var(--text-2); font-size: 1rem; line-height: 1.75; max-width: 85%; }
  334. .insight-banner .insight-data {
  335. display: flex; gap: 24px; margin-top: 16px; padding-top: 20px; border-top: 1px solid var(--border);
  336. }
  337. .insight-banner .insight-data .dp { display: flex; flex-direction: column; gap: 2px; }
  338. .insight-banner .insight-data .dp .num { font-family: var(--font-mono); font-size: 1.3rem; font-weight: 700; color: var(--amber); }
  339. .insight-banner .insight-data .dp .lbl { font-size: 0.72rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.1em; }
  340. .kol-card { background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
  341. .kol-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--bg-3); flex-shrink: 0; object-fit: cover; border: 1px solid var(--border); }
  342. .kol-info { flex: 1; overflow: hidden; }
  343. .kol-name { font-weight: 700; font-size: 0.98rem; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  344. .kol-desc { font-size: 0.82rem; color: var(--text-3); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  345. .kol-stats { display: flex; gap: 14px; margin-top: 10px; font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-2); }
  346. .kol-stats .amber { color: var(--amber); font-weight: 600; }
  347. .table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border); }
  348. .data-tbl { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
  349. .data-tbl thead th {
  350. text-align: left; padding: 14px 16px; background: var(--bg-1); border-bottom: 1px solid var(--border);
  351. font-family: var(--font-mono); font-weight: 500; font-size: 0.72rem;
  352. letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3);
  353. }
  354. .data-tbl tbody td { padding: 14px 16px; border-bottom: 1px solid var(--border); color: var(--text-1); vertical-align: middle; }
  355. .data-tbl tbody tr:last-child td { border-bottom: none; }
  356. .data-tbl tbody tr:hover { background: rgba(255,255,255,0.02); }
  357. .data-tbl .tb-num { font-family: var(--font-mono); font-weight: 600; color: var(--amber); }
  358. .matrix-2x2 {
  359. display: grid; grid-template-columns: 60px 1fr 1fr; grid-template-rows: 1fr 1fr 60px;
  360. gap: 12px; min-height: 520px; font-family: var(--font-head);
  361. }
  362. .matrix-2x2 .axis-y {
  363. grid-column: 1; grid-row: 1 / 3;
  364. display: flex; align-items: center; justify-content: center;
  365. writing-mode: vertical-rl; transform: rotate(180deg);
  366. font-family: var(--font-mono); font-size: 0.72rem;
  367. letter-spacing: 0.15em; color: var(--text-3); text-transform: uppercase;
  368. }
  369. .matrix-2x2 .axis-x {
  370. grid-column: 2 / 4; grid-row: 3;
  371. display: flex; justify-content: center; align-items: center;
  372. font-family: var(--font-mono); font-size: 0.72rem;
  373. letter-spacing: 0.15em; color: var(--text-3); text-transform: uppercase;
  374. }
  375. .matrix-cell {
  376. background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--radius-md);
  377. padding: 20px; position: relative; display: flex; flex-direction: column;
  378. }
  379. .matrix-cell .cell-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; color: var(--text-3); margin-bottom: 10px; text-transform: uppercase; }
  380. .matrix-cell h5 { font-weight: 700; font-size: 1rem; margin-bottom: 6px; color: var(--text-1); }
  381. .matrix-cell p { font-size: 0.85rem; color: var(--text-2); line-height: 1.55; }
  382. .matrix-cell.q1 { border-top: 2px solid var(--amber); }
  383. .matrix-cell.q2 { border-top: 2px solid var(--green); }
  384. .matrix-cell.q3 { border-top: 2px solid var(--rose); }
  385. .matrix-cell.q4 { border-top: 2px solid var(--purple); }
  386. .tl { position: relative; padding-left: 32px; }
  387. .tl::before {
  388. content: ''; position: absolute; left: 8px; top: 10px; bottom: 10px;
  389. width: 1px; background: linear-gradient(180deg, var(--amber), var(--purple), transparent);
  390. }
  391. .tl-item { position: relative; margin-bottom: 28px; padding-left: 20px; }
  392. .tl-item::before {
  393. content: ''; position: absolute; left: -30px; top: 6px;
  394. width: 10px; height: 10px; border-radius: 50%; background: var(--amber);
  395. border: 2px solid var(--bg-0); box-shadow: 0 0 0 2px var(--amber);
  396. }
  397. .tl-item .tl-time { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--amber); text-transform: uppercase; margin-bottom: 4px; }
  398. .tl-item h5 { font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
  399. .tl-item p { font-size: 0.88rem; color: var(--text-2); line-height: 1.6; }
  400. /* === 渐显:默认可见,只有 js 已就绪时才先隐藏 === */
  401. .fade-up { opacity: 1; transform: none; transition: opacity 0.9s cubic-bezier(.16,.84,.33,1), transform 0.9s cubic-bezier(.16,.84,.33,1); }
  402. html.js .fade-up { opacity: 0; transform: translateY(32px); will-change: opacity, transform; }
  403. html.js .fade-up.is-visible { opacity: 1; transform: translateY(0); }
  404. /* 深度入场:从下方滑入 + 微缩放(用于 section-head) */
  405. .rise-in { opacity: 1; transform: none; transition: opacity 1.1s cubic-bezier(.16,.84,.33,1), transform 1.1s cubic-bezier(.16,.84,.33,1); }
  406. html.js .rise-in { opacity: 0; transform: translateY(48px) scale(0.97); will-change: opacity, transform; }
  407. html.js .rise-in.is-visible { opacity: 1; transform: translateY(0) scale(1); }
  408. /* 逐字标题:每个 .char 独立控制 */
  409. .headline-anim { display: inline-block; }
  410. .headline-anim .char { display: inline-block; opacity: 1; transform: none; transition: opacity 0.7s cubic-bezier(.16,.84,.33,1), transform 0.7s cubic-bezier(.16,.84,.33,1); }
  411. html.js .headline-anim .char { opacity: 0; transform: translateY(0.6em) rotate(6deg); will-change: opacity, transform; }
  412. html.js .headline-anim.is-visible .char { opacity: 1; transform: translateY(0) rotate(0); }
  413. /* 键盘提示 pill —— 右下角,首次滚动 5s 后自动淡出 */
  414. .kbd-hint {
  415. position: fixed; right: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vh, 28px);
  416. z-index: 100; display: flex; align-items: center; gap: 10px;
  417. padding: 10px 16px; border-radius: 999px;
  418. background: rgba(20,20,20,0.85); backdrop-filter: blur(16px);
  419. border: 1px solid var(--border-strong);
  420. font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-2);
  421. letter-spacing: 0.04em;
  422. transition: opacity 0.6s ease, transform 0.6s ease;
  423. }
  424. .kbd-hint.fade { opacity: 0; transform: translateY(12px); pointer-events: none; }
  425. .kbd-hint kbd {
  426. display: inline-flex; align-items: center; justify-content: center;
  427. min-width: 22px; height: 22px; padding: 0 6px;
  428. background: var(--bg-3); border: 1px solid var(--border-strong);
  429. border-radius: 4px; font-size: 0.7rem; font-family: var(--font-mono);
  430. color: var(--text-1); box-shadow: 0 1px 0 rgba(0,0,0,0.4);
  431. }
  432. /* slide counter pill —— 左下角 */
  433. .slide-counter {
  434. position: fixed; left: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vh, 28px);
  435. z-index: 100; display: flex; align-items: center; gap: 8px;
  436. padding: 8px 14px; border-radius: 999px;
  437. background: rgba(20,20,20,0.85); backdrop-filter: blur(16px);
  438. border: 1px solid var(--border-strong);
  439. font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em;
  440. color: var(--text-2);
  441. }
  442. .slide-counter .now { color: var(--amber); font-weight: 700; }
  443. .slide-counter .bar { width: 60px; height: 2px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
  444. .slide-counter .bar::after {
  445. content: ''; display: block; height: 100%; width: var(--pct, 0%);
  446. background: linear-gradient(90deg, var(--amber), var(--rose));
  447. transition: width 0.6s cubic-bezier(.2,.7,.2,1);
  448. }
  449. /* 海报式 hero 点缀:流动的光弧 */
  450. .cover-hero .aurora {
  451. position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1;
  452. }
  453. .cover-hero .aurora span {
  454. position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5;
  455. }
  456. .cover-hero .aurora span:nth-child(1) { width: 500px; height: 500px; background: rgba(245,166,35,0.35); top: -10%; left: 10%; animation: aurora-drift-1 18s ease-in-out infinite alternate; }
  457. .cover-hero .aurora span:nth-child(2) { width: 420px; height: 420px; background: rgba(139,92,246,0.30); bottom: -8%; right: 10%; animation: aurora-drift-2 22s ease-in-out infinite alternate; }
  458. .cover-hero .aurora span:nth-child(3) { width: 300px; height: 300px; background: rgba(0,220,130,0.22); top: 40%; left: 55%; animation: aurora-drift-3 26s ease-in-out infinite alternate; }
  459. @keyframes aurora-drift-1 { from { transform: translate(0,0) scale(1); } to { transform: translate(60px,80px) scale(1.2); } }
  460. @keyframes aurora-drift-2 { from { transform: translate(0,0) scale(1); } to { transform: translate(-80px,-60px) scale(1.15); } }
  461. @keyframes aurora-drift-3 { from { transform: translate(0,0) scale(1); } to { transform: translate(-100px,40px) scale(1.3); } }
  462. @media (prefers-reduced-motion: reduce) { .cover-hero .aurora span { animation: none; } }
  463. footer.report-footer {
  464. padding: 48px clamp(24px, 6vw, 80px); text-align: center;
  465. border-top: 1px solid var(--border); color: var(--text-3); font-size: 0.8rem;
  466. background: var(--bg-0);
  467. }
  468. footer.report-footer .meta { font-family: var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 8px; font-size: 0.7rem; }
  469. @media (max-width: 900px) {
  470. .matrix-2x2 { grid-template-columns: 40px 1fr; grid-template-rows: auto; }
  471. .matrix-2x2 .axis-x, .matrix-2x2 .axis-y { display: none; }
  472. .matrix-cell { grid-column: 2; }
  473. }
  474. @media (max-width: 600px) {
  475. .nav-rail { display: none; }
  476. .top-bar { padding: 14px 18px; font-size: 0.72rem; }
  477. }
  478. </style>`;