File size: 57,611 Bytes
56ba79e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
cbbad80
 
 
 
 
 
 
 
56ba79e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b1acc47
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56ba79e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d5a6bcb
 
56ba79e
 
5a54e99
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e89d929
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3e9665e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
fa59e74
 
 
 
 
 
 
 
 
 
 
 
 
9f194f9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
03413a0
 
9f194f9
 
 
 
 
db43643
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
/* Page chrome = the HumanEgo gallery design tokens (dark); the 3D viewport is a light studio card. */
:root {
  --bg: #0a0c10; --card: #13161d; --line: #242a35; --line2: #333c4a;
  --txt: #eef1f6; --mut: #98a2b3; --accent: #ff8c2b; --accent2: #ff6a00;
  --ok: #4ade80; --bad: #f87171; --blue: #7aa2ff;
  --studio-top: #d9d8d4; --studio-bot: #c9c8c3;
  --panel: rgba(19, 22, 29, .86);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--txt); font-family: Inter, system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased;
  background: var(--bg);
  background-image: radial-gradient(1100px 520px at 50% -8%, rgba(255, 122, 40, .13) 0%, rgba(10, 12, 16, 0) 62%);
}
a { color: inherit; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; color: #ffb877; background: rgba(255, 140, 43, .08); padding: 1px 5px; border-radius: 5px; }
svg { stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- hero ---------- */
.hero { max-width: 1320px; margin: 0 auto; padding: 64px 28px 30px; text-align: center; position: relative; }
/* language toggle (js/i18n.js): the look of the sibling findings page */
.lang { position: absolute; top: 22px; right: 28px; background: transparent; color: var(--mut); border: 1px solid var(--line2); border-radius: 8px;
  padding: 5px 12px; font: 600 12px Inter, system-ui, sans-serif; cursor: pointer; z-index: 5; }
.lang:hover { color: var(--txt); border-color: var(--accent); }
html.i18n-wait body { visibility: hidden; }
html[lang="zh-CN"] body { font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, sans-serif; }
html[lang="zh-CN"] .kicker, html[lang="zh-CN"] .ph span { letter-spacing: .08em; }
.kicker { display: inline-block; font-size: 13.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #ff8c2b;
  padding: 7px 18px; border: 1px solid rgba(255, 140, 43, .45); border-radius: 999px; background: rgba(255, 140, 43, .09); margin-bottom: 24px; }
.logo { font-size: 56px; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 0; }
.logo span { background: linear-gradient(90deg, #ffae52, #ff6a00); -webkit-background-clip: text; background-clip: text; color: transparent; margin-left: .18em; }
.tag { color: var(--mut); margin: 18px auto 0; font-size: 18px; max-width: 820px; line-height: 1.5; }
.links { display: flex; gap: 11px; justify-content: center; flex-wrap: wrap; margin: 28px 0 6px; }
.links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; font-size: 14px; font-weight: 500; color: var(--txt);
  text-decoration: none; border: 1px solid var(--line2); border-radius: 999px; background: rgba(255, 255, 255, .03); transition: .18s; }
.links a svg { width: 16px; height: 16px; color: var(--accent); }
.links a:hover { border-color: var(--accent); background: rgba(255, 140, 43, .13); transform: translateY(-1px); }
.stats { display: flex; gap: 9px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.chip { font-size: 13px; color: var(--mut); padding: 6px 13px; border: 1px solid var(--line); border-radius: 999px; }
.chip b { color: var(--txt); font-weight: 600; }

/* ---------- viewport ---------- */
.stage { max-width: 1320px; margin: 0 auto; padding: 8px 28px 10px; }
.vp-card { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, var(--studio-top), var(--studio-bot)); box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .04); }
.vp-card canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.vp-card:fullscreen { border-radius: 0; aspect-ratio: auto; }
.vp-shade { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 60% 35%, rgba(255, 255, 255, 0) 55%, rgba(40, 34, 26, .10) 100%); }
.hud-chip { position: absolute; left: 2.2%; top: 4%; display: flex; align-items: center; gap: 9px; padding: 7px 13px; border-radius: 999px;
  background: rgba(13, 16, 22, .72); backdrop-filter: blur(10px); color: var(--txt); font-size: 12px; font-variant-numeric: tabular-nums;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .18); pointer-events: none; }
.hud-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--mut); box-shadow: 0 0 10px currentColor; }
.hud-chip b { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 11.5px; }
.hud-chip .sep { width: 1px; height: 12px; background: rgba(255, 255, 255, .16); }
.hud-chip span { color: #c4cad6; }
.pip { position: absolute; border-radius: 16px; pointer-events: none; }
.pip.close { right: 2.4%; top: 6.5%; width: 37%; height: 66%; border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 22px 50px rgba(30, 26, 20, .22), 0 2px 8px rgba(30, 26, 20, .12); }
.pip.zed { left: 2.2%; bottom: 5.5%; width: 23%; aspect-ratio: 16 / 9; border-radius: 12px; border: 1px solid rgba(13, 16, 22, .55);
  box-shadow: 0 16px 36px rgba(20, 18, 14, .28); overflow: hidden; }
.pip.zed video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; background: #000; }
.pip-label { position: absolute; left: 8px; top: 8px; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: #eef1f6; background: rgba(13, 16, 22, .72); backdrop-filter: blur(8px); padding: 4px 8px; border-radius: 999px; }
.pip.close .pip-label { color: #2a2c30; background: rgba(255, 255, 255, .72); }
.pip-note { position: absolute; left: 8px; bottom: 7px; right: 8px; font-size: 10px; color: rgba(238, 241, 246, .8); text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.vp-card.no-close .pip.close { display: none; }
.vp-card.no-zed .pip.zed { display: none; }
.play-pill { position: absolute; right: 2.4%; bottom: 5.5%; display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px 12px 18px;
  border: 0; border-radius: 999px; background: #fff; color: #17181b; font: 500 15px Inter, system-ui, sans-serif; cursor: pointer;
  box-shadow: 0 10px 30px rgba(30, 26, 20, .18); transition: transform .15s ease, box-shadow .15s; }
.play-pill:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(30, 26, 20, .24); }
.play-pill svg { width: 14px; height: 14px; fill: #17181b; stroke: none; }
.play-pill em { font-style: normal; color: #8b8f97; font-variant-numeric: tabular-nums; margin-left: 6px; }
.vp-loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; color: #5d5f64; font-size: 13px;
  background: linear-gradient(180deg, var(--studio-top), var(--studio-bot)); transition: opacity .5s; z-index: 3; }
.vp-loading.done { opacity: 0; pointer-events: none; }
.spin { width: 26px; height: 26px; border-radius: 50%; border: 2.5px solid rgba(0, 0, 0, .12); border-top-color: #ff8c2b; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.vp-under { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 14px 2px 10px; }
.vp-caption { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; min-width: 0; }
.vp-sub { color: var(--mut); font-weight: 400; font-size: 12.5px; }
.vp-tools { display: flex; align-items: center; gap: 16px; color: var(--mut); font-size: 13px; }
.seg { display: inline-flex; border: 1px solid var(--line2); border-radius: 999px; overflow: hidden; }
.seg button { background: transparent; border: 0; color: var(--mut); font: 500 12px Inter, system-ui, sans-serif; padding: 5px 10px; cursor: pointer; }
.seg button.on { background: rgba(255, 140, 43, .16); color: var(--txt); }
.seg button:disabled { opacity: .35; cursor: default; }
.switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
.switch input { display: none; }
.switch i { width: 30px; height: 17px; border-radius: 999px; background: var(--line2); position: relative; transition: .18s; }
.switch i::after { content: ''; position: absolute; left: 2px; top: 2px; width: 13px; height: 13px; border-radius: 50%; background: #c9ced8; transition: .18s; }
.switch input:checked + i { background: linear-gradient(90deg, #ffae52, #ff6a00); }
.switch input:checked + i::after { left: 15px; background: #fff; }
.icon-btn { background: transparent; border: 0; color: var(--mut); cursor: pointer; padding: 2px; display: inline-grid; }
.icon-btn:hover { color: var(--txt); }
.icon-btn svg { width: 17px; height: 17px; }
.set-wrap { position: relative; display: inline-flex; }
.settings { position: absolute; right: -6px; top: 30px; z-index: 30; width: 290px; padding: 14px; border-radius: 13px;
  background: rgba(19, 22, 29, .96); border: 1px solid var(--line2); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); backdrop-filter: blur(12px); }
.settings .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; color: var(--mut); font-size: 12.5px; }
.settings .hint { margin: 4px 0 0; color: #6f7a8c; font-size: 11.5px; line-height: 1.5; }
.devpanel { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: 360px; padding: 12px 14px; border-radius: 13px;
  background: rgba(10, 12, 16, .94); border: 1px solid rgba(255, 140, 43, .45); box-shadow: 0 18px 40px rgba(0, 0, 0, .6);
  font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; color: #c9d0dc; }
.devpanel .dp-h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.devpanel .dp-h b { color: var(--accent); letter-spacing: .16em; }
.devpanel .dp-h span { flex: 1; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.devpanel .dp-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.devpanel .dp-btns button { background: transparent; border: 1px solid var(--line2); color: var(--txt); border-radius: 7px; padding: 4px 8px; font: inherit; cursor: pointer; }
.devpanel .dp-btns button:hover { border-color: var(--accent); }
.devpanel pre { margin: 0; max-height: 180px; overflow: auto; white-space: pre-wrap; color: #e6e9ef; background: rgba(255, 255, 255, .03); border-radius: 8px; padding: 8px; }
.devpanel .dp-note { margin: 8px 0 0; color: #ffb877; line-height: 1.45; font-size: 11.5px; }

.timeline { position: relative; height: 18px; margin: 0 2px 12px; cursor: pointer; }
.tl-track { position: absolute; left: 0; right: 0; top: 7px; height: 4px; border-radius: 999px; background: var(--line); overflow: hidden; display: flex; }
.tl-track i { height: 100%; display: block; opacity: .75; }
.tl-track b { position: absolute; top: 0; width: 2px; height: 100%; background: rgba(10, 12, 16, .9); }
.tl-head { position: absolute; top: 3px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255, 140, 43, .35); }
.events { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 2px 22px; }
.ev { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line2); border-radius: 9px;
  background: rgba(255, 255, 255, .02); color: var(--mut); font: 500 12.5px Inter, system-ui, sans-serif; cursor: pointer; transition: .15s; font-variant-numeric: tabular-nums; }
.ev b { color: var(--txt); font-weight: 600; }
.ev:hover { border-color: var(--accent); color: var(--txt); }
.ev.on { border-color: var(--accent); background: rgba(255, 140, 43, .12); color: var(--txt); }
.ev i { width: 7px; height: 7px; border-radius: 50%; }

/* ---------- panels ---------- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 15px; padding: 14px 16px; backdrop-filter: blur(12px); min-width: 0; }
.ph { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.ph span { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mut); }
.ph em { font-style: normal; font-size: 11.5px; color: #6f7a8c; }
.ph em b { color: var(--txt); font-weight: 600; font-variant-numeric: tabular-nums; }
.hud-grid { display: grid; grid-template-columns: 1.05fr 1.1fr 1.25fr; gap: 16px; }
.gauges { width: 100%; height: 118px; display: block; }
.tactile { width: 100%; height: 150px; display: block; }
.readout { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.readout.three { grid-template-columns: 1fr 1.3fr 1.4fr; }
.readout div { background: rgba(255, 255, 255, .025); border: 1px solid var(--line); border-radius: 9px; padding: 6px 9px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; }
.readout span { display: block; color: var(--mut); font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; }
.readout b { font-size: 14px; font-weight: 650; }
.readout i { font-style: normal; color: var(--mut); font-size: 11px; margin-left: 3px; }
.readout .legend { display: flex; align-items: center; gap: 6px; }
.readout .legend span { display: inline; letter-spacing: 0; text-transform: none; }
.ramp { flex: 1; height: 6px; border-radius: 999px; background: linear-gradient(90deg, rgb(38, 44, 56), rgb(120, 52, 30), rgb(255, 106, 0), rgb(255, 160, 60), rgb(255, 236, 170)); }
.spark { margin-bottom: 10px; }
.spark .sl { display: flex; justify-content: space-between; font-size: 12px; color: var(--mut); margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.spark .sl b { color: var(--txt); font-weight: 600; }
.spark canvas { width: 100%; height: 62px; display: block; border-radius: 8px; background: rgba(255, 255, 255, .02); border: 1px solid var(--line); }

/* ---------- sections ---------- */
.section { max-width: 1320px; margin: 0 auto; padding: 40px 28px 20px; }
.sec-h h2 { font-size: 24px; font-weight: 750; letter-spacing: -.02em; margin: 0 0 6px; }
.sec-h p { color: var(--mut); margin: 0 0 20px; max-width: 860px; line-height: 1.55; font-size: 14.5px; }
.init-grid { display: grid; grid-template-columns: 1.1fr .95fr 1.15fr; gap: 16px; align-items: stretch; }
.map-wrap { position: relative; }
#map { width: 100%; height: 320px; display: block; border-radius: 10px; touch-action: none; }
.map-tip { position: absolute; pointer-events: none; opacity: 0; transition: opacity .12s; background: rgba(10, 12, 16, .92); border: 1px solid var(--line2);
  border-radius: 9px; padding: 7px 10px; font-size: 11.5px; color: var(--mut); white-space: nowrap; z-index: 2; }
.map-tip b { color: var(--txt); }
.legend-dots i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin: 0 4px 0 10px; vertical-align: 0; }
.legend-dots i.ok { background: var(--ok); } .legend-dots i.bad { background: var(--bad); } .legend-dots i.plate { border: 1.5px solid var(--blue); }
.knobs { display: grid; gap: 9px; }
.knob { display: grid; grid-template-columns: 82px 1fr 64px; align-items: center; gap: 10px; font-size: 12.5px; color: var(--mut); }
.knob .kv { text-align: right; font-variant-numeric: tabular-nums; }
.knob .kv b { color: var(--txt); font-weight: 600; }
.knob .kv i { font-style: normal; margin-left: 3px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 999px; background: var(--line2); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); cursor: pointer; }
.note { margin-top: 14px; font-size: 12.5px; line-height: 1.5; color: var(--mut); border-top: 1px solid var(--line); padding-top: 12px; }
.note b { color: var(--txt); }
.note .mut { color: #6f7a8c; font-size: 11.5px; }
.ok { color: var(--ok); } .bad { color: var(--bad); }
.params { font-size: 12.5px; max-height: 360px; overflow: auto; }
.params table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.params th { text-align: left; font-weight: 600; color: var(--mut); font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; padding: 4px 6px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #12151c; }
.params td { padding: 5px 6px; border-bottom: 1px solid rgba(36, 42, 53, .6); color: #c9d0dc; vertical-align: top; }
.params td.k { color: var(--txt); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; }
.params tr.diff td.v { color: #ffb877; font-weight: 600; }
.params tr.diff td.k::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 6px; vertical-align: 1px; }
.params .grp td { color: var(--mut); font-size: 10.5px; text-transform: uppercase; letter-spacing: .12em; padding-top: 12px; border-bottom: 0; }
.params .yes { color: var(--ok); } .params .no { color: var(--bad); }

/* ---------- gallery ---------- */
.bar { position: sticky; top: 0; z-index: 20; margin-top: 24px; background: rgba(10, 12, 16, .72); backdrop-filter: blur(12px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bar-in { max-width: 1320px; margin: 0 auto; padding: 12px 28px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { padding: 8px 15px; border: 1px solid var(--line2); border-radius: 999px; background: transparent; color: var(--mut); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; transition: .16s; }
.pill:hover { color: var(--txt); border-color: var(--accent); }
.pill.on { background: linear-gradient(90deg, #ffae52, #ff6a00); border-color: transparent; color: #0a0c10; font-weight: 600; }
.pill em { font-style: normal; opacity: .7; margin-left: 4px; font-size: 11.5px; }
.search { margin-left: auto; display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line2); border-radius: 10px; padding: 7px 12px; }
.search svg { width: 14px; height: 14px; color: var(--mut); }
.search input { background: transparent; border: 0; outline: 0; color: var(--txt); font: inherit; font-size: 13px; width: 170px; }
.search input::placeholder { color: var(--mut); }
.count { color: var(--mut); font-size: 13px; white-space: nowrap; }
main { max-width: 1320px; margin: 0 auto; padding: 24px 28px 40px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line2); border-radius: 15px; overflow: hidden; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-4px); border-color: var(--line2); box-shadow: 0 16px 38px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 140, 43, .18); }
.card.cur { box-shadow: 0 0 0 1.5px var(--accent); }
.thumb { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(180deg, #2a2b2e, #1c1e22); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .4s; }
.thumb img.in { opacity: 1; }
.thumb .ph-spin { position: absolute; inset: 0; display: grid; place-content: center; color: #59606c; font-size: 11px; }
.dur { position: absolute; right: 8px; bottom: 8px; font-size: 11px; font-weight: 600; color: #fff; background: rgba(5, 7, 10, .78); padding: 2px 7px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.play { position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; border-radius: 50%; background: rgba(12, 15, 20, .5); backdrop-filter: blur(4px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .5); display: grid; place-items: center; opacity: 0; transition: .18s; }
.card:hover .play { opacity: 1; }
.play svg { width: 20px; height: 20px; margin-left: 3px; fill: #fff; stroke: none; }
.cap { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; padding: 10px 13px 11px; border-top: 1px solid var(--line); }
.cap .name { flex: 1 1 100%; }
.cap .meta { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.name { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; color: var(--txt); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.meta { color: var(--mut); font-size: 11.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.badge { font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.badge.ok { color: var(--ok); background: rgba(74, 222, 128, .13); }
.badge.bad { color: var(--bad); background: rgba(248, 113, 113, .13); }
.badge.task { color: #ff9a3c; background: rgba(255, 154, 60, .14); }
.badge.syn { color: var(--mut); background: rgba(152, 162, 179, .12); }
.empty { color: var(--mut); text-align: center; padding: 60px 0; grid-column: 1 / -1; }
.fmt { padding-top: 10px; }
footer { max-width: 1320px; margin: 0 auto; padding: 10px 28px 60px; color: var(--mut); font-size: 12.5px; text-align: center; }

@media (max-width: 1080px) {
  .hud-grid, .init-grid { grid-template-columns: 1fr 1fr; }
  .params-panel { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .logo { font-size: 40px; }
  .stage, .section, main, .hero { padding-left: 14px; padding-right: 14px; }
  .vp-card { border-radius: 14px; }
  .hud-grid, .init-grid { grid-template-columns: 1fr; }
  .hud-chip { padding: 4px 9px; gap: 6px; font-size: 10px; top: 3.5%; }
  .hud-chip b { font-size: 9.5px; }
  .hud-chip .sep, .hud-chip #fps, .hud-chip .sep + span + .sep { display: none; }
  .pip.close { width: 40%; height: 50%; top: 5%; border-radius: 10px; }
  .pip.zed { width: 32%; border-radius: 8px; bottom: 5%; }
  .pip-label { font-size: 8px; padding: 2px 6px; left: 5px; top: 5px; letter-spacing: .12em; }
  .pip-note { display: none; }
  .play-pill { padding: 6px 12px 6px 10px; font-size: 12px; gap: 6px; bottom: 5%; }
  .play-pill svg { width: 11px; height: 11px; }
  .vp-tools { flex-wrap: wrap; gap: 12px; }
  .vp-caption { flex-wrap: wrap; }
  .search { margin-left: 0; width: 100%; } .search input { width: 100%; }
}

/* ---------- story (v3) ---------- */
.story { max-width: 1320px; margin: 0 auto; padding: 30px 28px 0; }
.chapter { padding: 42px 0 26px; border-top: 1px solid var(--line); }
.ch-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.ch-num { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--accent); font-variant-numeric: tabular-nums; }
.ch-head h2 { margin: 0; font-size: 28px; font-weight: 750; letter-spacing: -.02em; }
.ch-body { display: grid; grid-template-columns: minmax(300px, .9fr) 1.6fr; gap: 28px; align-items: start; }
.ch-body.col { grid-template-columns: 1fr; }
.ch-text p { color: #c3cad6; font-size: 15px; line-height: 1.65; margin: 0 0 12px; max-width: 640px; }
.ch-text.wide p { max-width: 940px; }
.ch-text p em { font-style: normal; color: var(--txt); font-weight: 600; }
.ch-text .mut, p.mut { color: var(--mut); font-size: 13px; }
.ch-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.ch-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line2);
  background: rgba(255, 255, 255, .03); color: var(--txt); font: 500 13px Inter, system-ui, sans-serif; cursor: pointer; transition: .16s; }
.btn:hover { border-color: var(--accent); background: rgba(255, 140, 43, .12); }
.btn.primary { background: linear-gradient(90deg, #ffae52, #ff6a00); color: #0a0c10; border-color: transparent; font-weight: 600; }
.btn svg { width: 14px; height: 14px; }
.ch-media { display: grid; gap: 16px; }
.ch-media.two { grid-template-columns: 1fr 1fr; }
.media { margin: 0; }
.media-box { position: relative; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: #d8d6d1;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .04); cursor: pointer; }
.media-box video, .media-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-box img:not([src]), .media-box img[src=""] { visibility: hidden; }
.media figcaption { color: var(--mut); font-size: 12px; line-height: 1.5; margin: 10px 4px 0; }
.ch-steer-init, #init { margin-top: 26px; }

/* ---------- results (agentic tuning) ---------- */
.results { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.results .panel { padding: 16px 18px; }
.results .span2 { grid-column: 1 / -1; }
.results-empty { color: var(--mut); font-size: 13px; padding: 20px 0; }
.viz { width: 100%; display: block; overflow: visible; font-family: Inter, system-ui, sans-serif; stroke: none; fill: none; stroke-width: 0; }
.viz text { fill: var(--mut); font-size: 11px; font-variant-numeric: tabular-nums; }
.viz .t-strong { fill: var(--txt); font-weight: 600; }
.viz .t-tag { fill: var(--txt); font-weight: 600; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.viz .t-warn { fill: #c3cad6; font-weight: 600; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.viz .grid line { stroke: #232833; stroke-width: 1; }
.viz .axis line, .viz .axis path { stroke: #39404d; }
.viz-legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 2px 0 8px; font-size: 12px; color: var(--mut); }
.viz-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.viz-legend i.ring { background: transparent !important; border: 2px solid currentColor; border-radius: 50%; width: 9px; height: 9px; }
.viz-note { color: #6f7a8c; font-size: 11.5px; line-height: 1.5; margin-top: 8px; }
.viz-note:empty { display: none; }
.viz-note.warn { color: #c3cad6; border-left: 2px solid var(--line2); padding-left: 8px; }
.base-big { display: flex; align-items: baseline; gap: 14px; margin: 6px 0 12px; }
.base-big b { font-size: 40px; font-weight: 700; letter-spacing: -.02em; color: var(--txt); font-variant-numeric: tabular-nums; }
.base-big span { color: var(--mut); font-size: 12.5px; line-height: 1.5; }
.method { margin: 0; padding-left: 18px; color: #c9d0dc; font-size: 12.5px; line-height: 1.55; }
.method li { margin: 0 0 6px; }
.method b { color: var(--txt); font-weight: 600; }
.viz-tip { position: fixed; z-index: 80; pointer-events: none; opacity: 0; transition: opacity .1s; background: rgba(10, 12, 16, .95);
  border: 1px solid var(--line2); border-radius: 9px; padding: 7px 10px; font-size: 12px; color: var(--mut); font-variant-numeric: tabular-nums;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .5); max-width: 280px; }
.viz-tip b { color: var(--txt); font-weight: 600; }
.mult { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.mult .m { background: rgba(255, 255, 255, .02); border: 1px solid var(--line); border-radius: 10px; padding: 8px 9px 4px; }
.mult .m h4 { margin: 0 0 2px; font: 600 11px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--txt); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mult .m h4 em { font-style: normal; color: #6f7a8c; font-weight: 400; margin-left: 4px; }
.mult-title { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); margin: 14px 0 8px; }
.mult-title.phys { color: #9fb3d6; }
.chg { width: 100%; border-collapse: collapse; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.chg th { text-align: left; color: var(--mut); font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; padding: 5px 8px; border-bottom: 1px solid var(--line); }
.chg td { padding: 6px 8px; border-bottom: 1px solid rgba(36, 42, 53, .6); color: #c9d0dc; }
.chg td.k { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; color: var(--txt); }
.chg td.num { text-align: right; }
.chg .rng { width: 150px; }
.chg .bound { color: #ffb877; font-size: 10.5px; margin-left: 6px; }
.chg tr.phys td { color: #9fb3d6; }
details.dataview { margin-top: 8px; font-size: 12px; color: var(--mut); }
details.dataview summary { cursor: pointer; }
details.dataview table { margin-top: 6px; }

/* ---------- gallery facets / compare button ---------- */
.facets { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.facet { display: inline-flex; gap: 6px; align-items: center; }
.facet > span { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #6f7a8c; margin-right: 2px; }
.facet .pill { padding: 6px 11px; font-size: 12px; }
.pill:disabled { opacity: .35; cursor: default; }
.thumb .cmp-btn { position: absolute; left: 8px; bottom: 8px; z-index: 3; padding: 3px 9px; border-radius: 6px; border: 0; cursor: pointer;
  background: rgba(5, 7, 10, .78); color: #fff; font: 600 11px Inter, system-ui, sans-serif; opacity: 0; transition: .15s; }
.card:hover .cmp-btn { opacity: 1; }
.cmp-btn:hover { background: var(--accent); color: #0a0c10; }
.badge.lens { color: #9fb3d6; background: rgba(122, 162, 255, .12); }

/* ---------- downloads: per-card button + menu, recording chip ---------- */
.thumb .dl-btn { position: absolute; right: 8px; top: 8px; z-index: 3; width: 30px; height: 30px; display: grid; place-items: center; padding: 0;
  border: 0; border-radius: 8px; cursor: pointer; background: rgba(5, 7, 10, .66); color: #fff; opacity: .85; transition: .15s; }
.thumb .dl-btn svg { width: 16px; height: 16px; stroke-width: 2.1; }
.card:hover .dl-btn, .dl-btn:focus-visible { opacity: 1; }
.dl-btn:hover, .dl-btn.open { background: var(--accent); color: #0a0c10; }
.dl-btn.busy { opacity: 1; background: var(--accent); color: #0a0c10; animation: dlpulse 1s ease-in-out infinite; }
.dl-menu { position: absolute; z-index: 70; width: 300px; padding: 6px; border-radius: 12px; background: rgba(19, 22, 29, .97);
  border: 1px solid var(--line2); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); backdrop-filter: blur(12px); }
.dl-menu .dl-h { padding: 6px 9px 5px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #6f7a8c;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-item { display: block; width: 100%; padding: 8px 9px; border: 0; border-radius: 8px; background: transparent; color: var(--txt);
  font: inherit; text-align: left; cursor: pointer; }
.dl-item:hover, .dl-item:focus-visible { background: rgba(255, 255, 255, .07); outline: none; }
.dl-item:disabled { opacity: .4; cursor: default; }
.dl-item b { display: block; font-size: 13px; font-weight: 600; }
.dl-item span { display: block; margin-top: 2px; font-size: 11.5px; color: var(--mut); }
.rec-chip { position: absolute; left: 50%; bottom: 5.5%; transform: translateX(-50%); z-index: 4; display: flex; align-items: center; gap: 10px;
  padding: 7px 8px 7px 13px; border-radius: 999px; background: rgba(13, 16, 22, .82); backdrop-filter: blur(10px); color: var(--txt);
  font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rec-chip[hidden] { display: none; }
.rec-chip i { width: 9px; height: 9px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 10px #ff4d4d; animation: dlpulse 1s ease-in-out infinite; }
.rec-chip button { padding: 4px 11px; border: 0; border-radius: 999px; background: #fff; color: #17181b; font: 600 11.5px Inter, system-ui, sans-serif; cursor: pointer; }
@keyframes dlpulse { 50% { opacity: .45; } }

/* ---------- modals: compare, keys ---------- */
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(5, 6, 9, .82); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 22px; }
.modal[hidden] { display: none; }
.cmp-wrap { width: min(1500px, 100%); max-height: 100%; overflow: auto; background: var(--bg); border: 1px solid var(--line2); border-radius: 18px; padding: 16px 18px 12px; }
.cmp-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; color: var(--mut); font-size: 13px; }
.cmp-head b { color: var(--txt); font-size: 15px; }
.cmp-sub { flex: 1; }
.cmp-x { font-size: 22px; line-height: 1; padding: 0 6px; }
.cmp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
/* no large drop shadow here: B's 80 px blur painted over the right edge of A (A darkened 209 -> 184 toward its edge) */
.cmp-card { border-radius: 16px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); }
.cmp-tag { position: absolute; left: 12px; top: 12px; display: flex; gap: 8px; align-items: center; padding: 5px 11px; border-radius: 999px;
  background: rgba(13, 16, 22, .72); color: var(--txt); font-size: 12px; pointer-events: none; }
.cmp-tag b { color: var(--accent); }
.cmp-cap { margin: 8px 4px 0; font-size: 12.5px; color: var(--mut); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cmp-cap b { color: var(--txt); font-weight: 600; }
.cmp-transport { display: flex; align-items: center; gap: 16px; margin: 14px 2px 6px; }
.play-pill.small { position: static; padding: 8px 16px 8px 13px; font-size: 13px; box-shadow: none; flex: none; }
.cmp-tl { flex: 1; margin: 0; }
.keys-card { width: min(520px, 100%); background: var(--card); border: 1px solid var(--line2); border-radius: 16px; padding: 16px 18px; }
.keys-t { width: 100%; border-collapse: collapse; font-size: 13px; }
.keys-t td { padding: 7px 4px; border-bottom: 1px solid var(--line); color: #c9d0dc; }
.keys-t td:first-child { width: 42%; white-space: nowrap; }
kbd { display: inline-block; min-width: 20px; padding: 2px 6px; border-radius: 5px; border: 1px solid var(--line2); border-bottom-width: 2px;
  background: #171b23; color: var(--txt); font: 600 11px ui-monospace, SFMono-Regular, Menlo, monospace; text-align: center; }

@media (max-width: 1180px) {
  .ch-body { grid-template-columns: 1fr; }
  .results { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .ch-media.two, .cmp-grid { grid-template-columns: 1fr; }
  .story { padding-left: 14px; padding-right: 14px; }
}

/* ---------- v5: success rates (one-video experiment) + how it runs ---------- */
.rates-sec code, .how-sec code { font-size: 12.5px; color: #ffcf9e; background: rgba(255, 140, 43, .08); padding: 1px 5px; border-radius: 5px; }
.ph-banner { font-size: 12.5px; color: #c3cad6; border: 1px dashed var(--line2); border-radius: 12px; padding: 9px 12px; margin-bottom: 12px; line-height: 1.5; }
.ph-banner b { color: var(--accent); font-weight: 650; letter-spacing: .04em; }
.rates-panel { padding: 6px 6px 12px; overflow-x: auto; }
table.rates { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
table.rates th, table.rates td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
table.rates th { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); font-weight: 700; }
table.rates .num { text-align: right; }
table.rates tbody tr { cursor: pointer; transition: background .15s; }
table.rates tbody tr:hover { background: rgba(255, 255, 255, .025); }
table.rates tbody tr.on { background: rgba(255, 140, 43, .07); }
table.rates tbody tr.on td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
table.rates tr.ceil td { color: #a9b1bf; }
table.rates td b { color: var(--txt); font-weight: 650; }
table.rates .arm-id { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line2); color: var(--txt); font-weight: 700; font-size: 11.5px; margin-right: 9px; }
table.rates tr.on .arm-id { border-color: var(--accent); color: var(--accent); }
table.rates .phl { display: block; font-style: normal; font-size: 10.5px; color: #c3cad6; margin: 3px 0 0 31px; letter-spacing: .02em; }
table.rates .strict { min-width: 280px; }
table.rates .strict .rbar { display: inline-block; width: 120px; vertical-align: -2px; margin-right: 10px; }
table.rates .ci { color: var(--mut); }
table.rates .pair { color: var(--mut); font-size: 12px; }
.running { display: inline-flex; align-items: center; gap: 7px; color: var(--mut); font-size: 12px; }
.running i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: .8; animation: runpulse 1.6s ease-in-out infinite; }
@keyframes runpulse { 0%, 100% { opacity: .25; } 50% { opacity: .9; } }
.rates-panel .note { margin: 6px 10px 0; }
.rates-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px; margin-top: 16px; align-items: start; }
.arm-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }
.arm-pills .pill em { font-style: normal; color: var(--mut); margin-left: 6px; font-size: 11px; }
.armmap { max-width: 420px; margin: 0 auto; }
.armmap .pt { cursor: pointer; } .armmap .pt.none { cursor: default; }
.legend-dots i.none { border: 1.5px solid #3a4250; background: transparent !important; }
.map-acts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.map-acts .sep { width: 1px; height: 22px; background: var(--line2); margin: 0 4px; }
.arm-sel { background: var(--card); color: var(--txt); border: 1px solid var(--line2); border-radius: 9px; padding: 7px 10px; font: 500 12.5px Inter, system-ui, sans-serif; }
.map-acts .flash { font-size: 12px; }
.viz.matrix-svg { margin-top: 6px; width: auto; max-width: 100%; height: auto; display: block; }
.matrix .viz text { font-size: 10.5px; }
.pipe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 15px; padding: 16px 16px 18px; }
.step .n { font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--accent); }
.step h4 { margin: 7px 0 7px; font-size: 15px; }
.step p { margin: 0; font-size: 13px; color: var(--mut); line-height: 1.55; }
@media (max-width: 980px) { .rates-grid, .pipe { grid-template-columns: 1fr; } }
.arm-pills .pill.on em { color: rgba(10, 12, 16, .6); }

/* ---------- v6: live pipeline progress + failure stages (one-video experiment) ---------- */
.live-panel { margin: 0 0 16px; padding: 14px 16px 16px; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(180deg, rgba(255, 140, 43, .045), rgba(19, 22, 29, .86) 60%); }
.live-h { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--mut); margin-bottom: 12px; }
.live-h b { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255, 140, 43, .6); animation: livering 1.8s ease-out infinite; }
.live-dot.stale { background: var(--mut); animation: none; }
.live-h .live-dot.stale + b { color: var(--mut); }
@keyframes livering { 0% { box-shadow: 0 0 0 0 rgba(255, 140, 43, .55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(255, 140, 43, 0); } }
.live-stages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.lstage { border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px 12px; background: rgba(255, 255, 255, .015); min-width: 0; }
.lstage.s-done { border-color: rgba(74, 222, 128, .28); }
.lstage.s-running { border-color: rgba(255, 140, 43, .45); background: rgba(255, 140, 43, .05); }
.lstage.s-failed { border-color: rgba(248, 113, 113, .5); }
.ls-top { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.ls-n { font-weight: 700; letter-spacing: .16em; color: var(--mut); font-variant-numeric: tabular-nums; }
.ls-ic { display: inline-grid; place-items: center; width: 18px; height: 18px; }
.ls-ic svg { width: 16px; height: 16px; }
.lstage.s-done .ls-ic { color: var(--ok); } .lstage.s-failed .ls-ic { color: var(--bad); }
.ls-ic .pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: runpulse 1.6s ease-in-out infinite; }
.ls-ic .ring { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--line2); }
.ls-top em { margin-left: auto; font-style: normal; color: var(--mut); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.lstage.s-running .ls-top em { color: var(--accent); } .lstage.s-done .ls-top em { color: #86e0a6; }
.lstage h4 { margin: 8px 0 3px; font-size: 13.5px; font-weight: 650; }
.lstage p { margin: 0; color: var(--mut); font-size: 12px; line-height: 1.45; }
.ls-bar { margin-top: 7px; }
.ls-bar .track { height: 5px; border-radius: 3px; background: #242a35; overflow: hidden; }
.ls-bar .track i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #ffae52, #ff6a00); transition: width .6s ease; }
.ls-bar.full .track i { background: var(--ok); }
.ls-bar.failed .track i { background: var(--bad); }
.ls-bar span { display: block; margin-top: 4px; font-size: 11.5px; color: var(--mut); font-variant-numeric: tabular-nums; }
.ls-run { margin-top: 9px; }
.ls-run b { font-size: 11.5px; font-weight: 600; color: var(--txt); }
.ls-evals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin-top: 9px; }
.le { border: 1px solid var(--line); border-radius: 8px; padding: 4px 6px; font-size: 11.5px; display: flex; justify-content: space-between; gap: 4px; font-variant-numeric: tabular-nums; }
.le b { font-weight: 700; } .le span { color: var(--mut); }
.le.s-done { border-color: rgba(74, 222, 128, .3); } .le.s-running { border-color: rgba(255, 140, 43, .55); }
.le.s-running span { color: var(--accent); }
.running.failed i { background: var(--bad); animation: none; }
.rates-right { display: grid; gap: 16px; min-width: 0; }
.viz.stages-svg { width: auto; max-width: 100%; height: auto; display: block; margin-top: 6px; }
.kind-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 2px 0 2px; font-size: 11.5px; color: var(--mut); }
.kind-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.viz.stages-svg .seg-n { fill: #0a0c10; font-weight: 700; font-size: 10.5px; }
.viz.stages-svg .mut-t { fill: #6f7a8c; font-size: 11px; }
@media (max-width: 1100px) { .live-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .live-stages { grid-template-columns: 1fr; } }

.seg.view-seg { display: inline-flex; margin: 0 0 12px; }
.seg.view-seg button:disabled { opacity: .35; cursor: default; }
.view-note { margin: -4px 0 12px; font-size: 12px; line-height: 1.5; color: var(--muted, #8a94a6); max-width: 920px; }
.view-note b { color: #c9d1dd; font-weight: 600; }
.chg tr.inert td { color: #7a8494; }
.chg tr.inert s { opacity: .7; }

/* ---------- evaluation figures (js/results.js) ---------- */
.eval-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(520px, 1fr)); gap: 16px; margin-bottom: 16px; }
.fig-card { padding: 14px 16px 12px; }
.fig-h { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.fig-h b { font-size: 14px; font-weight: 700; }
.fig-h span { color: var(--mut); font-size: 12px; }
.fig-tbtn { margin-left: auto; padding: 3px 10px; border-radius: 7px; border: 1px solid var(--line2); background: transparent; color: var(--mut);
  font: 600 11.5px Inter, system-ui, sans-serif; cursor: pointer; }
.fig-tbtn:hover, .fig-tbtn.on { color: var(--txt); border-color: var(--accent); }
.fig-svg { width: 100%; height: auto; display: block; overflow: visible; stroke: none; fill: none; }   /* no inherited site-wide svg stroke */
.fig-svg text { font-family: Inter, system-ui, sans-serif; }
.fig-svg [tabindex]:focus { outline: none; }
.fig-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 2px 0 8px; font-size: 12px; color: var(--mut); }
.fig-legend span { display: inline-flex; align-items: center; gap: 7px; }
.fig-legend i { display: inline-block; width: 16px; height: 2px; border-radius: 1px; }
.fig-legend i.rect { height: 10px; width: 10px; border-radius: 2px; }
.fig-note { color: var(--mut); font-size: 11.5px; margin: 6px 0 0; line-height: 1.5; }
.fig-tbl { margin-top: 10px; overflow-x: auto; }
.fig-table { border-collapse: collapse; font-size: 12px; width: 100%; font-variant-numeric: tabular-nums; }
.fig-table th, .fig-table td { text-align: left; padding: 5px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.fig-table th { color: var(--mut); font-weight: 600; }
.fig-pending { padding: 18px 4px 10px; color: var(--mut); font-size: 13px; line-height: 1.55; }
.fig-pending p { margin: 10px 0 0; max-width: 560px; }
.fig-tt { position: absolute; z-index: 80; pointer-events: none; padding: 8px 10px; border-radius: 9px; background: rgba(19, 22, 29, .97);
  border: 1px solid var(--line2); box-shadow: 0 12px 30px rgba(0, 0, 0, .45); font-size: 12px; color: var(--txt); max-width: 340px; }
.fig-tt .tt-h { color: var(--mut); font-size: 11px; margin-bottom: 4px; }
.fig-tt .tt-r { display: flex; align-items: center; gap: 7px; margin-top: 2px; }
.fig-tt .tt-r i { width: 12px; height: 2px; border-radius: 1px; flex: none; }
.fig-tt .tt-r b { font-variant-numeric: tabular-nums; font-weight: 700; }
.fig-tt .tt-r span { color: var(--mut); }

/* ---------- datasets (js/datasets.js) ---------- */
.ds-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 16px; }
.ds-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.ds-vid { aspect-ratio: 16 / 9; background: #0d1015; }
.ds-vid video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ds-body { padding: 14px 16px 14px; display: flex; flex-direction: column; gap: 8px; }
.ds-task { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.ds-body b { font-size: 15px; }
.ds-body p { margin: 0; color: var(--mut); font-size: 12.5px; line-height: 1.5; }
.ds-stats { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--mut); }
.ds-stats b { color: var(--txt); font-size: 14px; font-variant-numeric: tabular-nums; }
.ds-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ds-actions .pill { text-decoration: none; }
.ds-cmd { display: block; font-size: 11px; color: #c4cad6; background: #0d1015; border: 1px solid var(--line); border-radius: 8px; padding: 7px 9px;
  overflow-x: auto; white-space: nowrap; }
.ds-list { padding: 0 16px 14px; }
.ds-bar { display: flex; align-items: center; gap: 14px; margin: 4px 0 6px; font-size: 12px; color: var(--mut); }
.ds-count { margin-left: auto; }
.ds-links a { color: var(--accent); margin-right: 10px; text-decoration: none; font-weight: 600; }
.ds-links a:hover { text-decoration: underline; }
.ds-list .pill { margin-top: 8px; }
.fig-ctl { display: flex; gap: 10px; flex-wrap: wrap; margin: 2px 0 8px; }
.fig-ctl .seg button { font-size: 11.5px; padding: 5px 10px; }

/* ---------- Agent section (js/agent.js: the harness export) + the agent view of the rates (js/arms.js) ---------- */
.ag-head { color: var(--mut); font-size: 12.5px; margin: -6px 0 14px; }
.ag-verdicts { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 16px; margin-bottom: 16px; }
.ag-verdict { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 14px; }
.ag-verdict > b { font-size: 15px; }
.ag-big { display: flex; align-items: baseline; gap: 12px; margin: 2px 0 2px; }
.ag-big b { font-size: 36px; font-weight: 750; letter-spacing: -.02em; color: var(--txt); font-variant-numeric: tabular-nums; line-height: 1; }
.ag-big span { color: var(--mut); font-size: 12.5px; line-height: 1.45; }
.ag-facts { margin: 0; padding: 0; list-style: none; display: grid; gap: 5px; color: var(--mut); font-size: 12.5px; line-height: 1.5; }
.ag-facts b { color: var(--txt); font-weight: 650; font-variant-numeric: tabular-nums; }
.ag-verdict .ds-actions { margin-top: 4px; }
.ag-grid { grid-template-columns: repeat(auto-fit, minmax(560px, 1fr)); }
.ag-grid .ag-card:has(.ag-board), .ag-grid .ag-card:has(.ag-turns) { grid-column: 1 / -1; }
.ag-scroll { overflow-x: auto; max-width: 100%; }
.ag-turns { max-height: 620px; overflow-y: auto; overflow-x: hidden; padding-right: 4px; }
.ag-turn .fig-note { white-space: normal; overflow-wrap: anywhere; }
.ag-turn .fig-note code { white-space: normal; }
.ag-card .fig-tbl { max-height: 480px; overflow: auto; }
.ag-board { font-size: 11.5px; }
.ag-board th, .ag-board td { padding: 4px 6px; }
.ag-board tbody tr { cursor: pointer; }
.ag-board tbody tr:hover td { background: rgba(255, 255, 255, .025); }
.ag-board tbody tr.on td { background: rgba(255, 140, 43, .07); }
.ag-board tbody tr.on td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.ag-board tr.ag-m4 td.k { color: var(--txt); font-weight: 650; }
.fig-table td.k, .ag-vt td.k { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: var(--txt); }
.fig-table td.num { text-align: right; }
.ag-pass { color: var(--ok); font-weight: 600; } .ag-fail { color: var(--bad); font-weight: 600; } .ag-na { color: #5e687a; }
.ag-chip { display: inline-block; padding: 1px 7px; border-radius: 999px; border: 1px solid var(--line2); color: var(--mut); font-size: 10.5px; margin: 1px 4px 1px 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ag-chip.ok { border-color: rgba(74, 222, 128, .4); color: #86e0a6; } .ag-chip.bad { border-color: rgba(248, 113, 113, .5); color: #f8a0a0; } .ag-chip.warn { border-color: rgba(255, 174, 82, .5); color: #ffb877; }
.ag-gates { white-space: normal !important; max-width: 320px; }
.ag-ctrl { max-width: 260px; overflow: hidden; text-overflow: ellipsis; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10.5px; color: var(--mut); }
.ag-rounds { margin-top: 8px; overflow-x: auto; }
.ag-rounds td { white-space: normal; max-width: 300px; }
.ag-cands, .ag-turn { margin: 8px 0; font-size: 12px; }
.ag-cands summary, .ag-turn summary { cursor: pointer; color: var(--mut); padding: 4px 0; }
.ag-turn summary b { color: var(--txt); }
.ag-turn[open] summary { color: var(--txt); }
.ag-turn .fig-table { margin: 6px 0 8px; }
.ag-vt td { white-space: normal; vertical-align: top; }
.ag-margin { white-space: nowrap !important; font-variant-numeric: tabular-nums; }
.ag-margin i { display: inline-block; height: 7px; border-radius: 2px; vertical-align: middle; margin-right: 4px; background: #3987e5; }
.ag-margin i.neg { background: var(--bad); }
.ag-ev { max-width: 420px; }
.ag-evbtn { background: transparent; border: 0; padding: 0; color: #c4cad6; font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; cursor: pointer; text-align: left; word-break: break-all; }
.ag-evbtn:hover { color: var(--txt); }
.ag-ev pre { margin: 6px 0 0; max-height: 240px; overflow: auto; font-size: 10.5px; color: #c4cad6; background: #0d1015; border: 1px solid var(--line); border-radius: 8px; padding: 7px 9px; white-space: pre-wrap; word-break: break-all; }
.ag-gpu, .ag-backends { margin-top: 12px; }
.ag-gpu td, .ag-backends td { white-space: normal; }
.ag-flags { white-space: normal !important; }
.pill.small { padding: 3px 9px; font-size: 11px; }
.agent-knobs { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.agent-knobs .ph { margin-bottom: 6px; }
.knobs-t td { padding: 3px 8px; font-size: 11.5px; }
.knobs-t td.k { color: var(--mut); font-weight: 500; }
.knobs-t td.num { color: var(--txt); }
@media (max-width: 980px) { .ag-grid { grid-template-columns: 1fr; } }

/* ---------- Agent-generated data (js/m5.js) ---------- */
.m5-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; margin-bottom: 12px; }
.m5-head, .m5-sample { padding: 16px 18px 14px; }
.m5-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 6px 0 12px; }
.m5-tile { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; background: rgba(255, 255, 255, .015); }
.m5-tile b { font-size: 24px; font-weight: 750; letter-spacing: -.02em; color: var(--txt); font-variant-numeric: tabular-nums; line-height: 1.1; }
.m5-tile span { color: var(--mut); font-size: 11.5px; line-height: 1.35; }
.m5-tile em { font-style: normal; color: #6f7a8c; font-size: 10.5px; font-variant-numeric: tabular-nums; }
.m5-looks { margin-top: 8px; }
.m5-looks .ph, .m5-sample .ph { margin-bottom: 6px; }
.m5-batches { margin-top: 6px; }
@media (max-width: 980px) { .m5-grid { grid-template-columns: 1fr; } }

/* ---------- three tasks + bread retiming (js/tasks.js) ---------- */
.tk-task { padding: 16px 18px 14px; margin-bottom: 16px; }
.tk-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.tk-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tk-title b { font-size: 16px; }
.tk-title code { font-size: 11px; }
.tk-stat { display: flex; align-items: baseline; gap: 10px; }
.tk-stat b { font-size: 26px; font-weight: 750; letter-spacing: -.02em; color: var(--txt); font-variant-numeric: tabular-nums; }
.tk-stat span { color: var(--mut); font-size: 12px; }
.tk-method { color: #c9d0dc; }
.tk-table td { white-space: normal; }
.tk-strip { display: inline-flex; gap: 2px; vertical-align: middle; }
.tk-strip i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.tk-cards { margin-top: 10px; }
.tk-cards summary { cursor: pointer; color: var(--mut); font-size: 12.5px; padding: 4px 0; }
.tk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; margin-top: 10px; }
.tk-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: box-shadow .3s; }
.tk-card.flash { box-shadow: 0 0 0 2px var(--accent); }
.tk-media { position: relative; aspect-ratio: 16 / 9; background: #0d1015; cursor: pointer; }
.tk-media video, .tk-media img.tk-poster { width: 100%; height: 100%; object-fit: cover; display: block; }
.tk-media img.tk-poster[hidden] { display: none; }
.tk-noclip { position: absolute; inset: 0; display: grid; place-items: center; color: #6f7a8c; font-size: 11.5px; }
.tk-badge { position: absolute; left: 8px; bottom: 8px; color: #0a0c10; font-weight: 700; font-size: 10.5px; padding: 2px 7px; border-radius: 6px; }
.tk-cap { padding: 8px 10px 9px; display: flex; flex-direction: column; gap: 3px; }
.tk-cap b { font-size: 12px; font-weight: 650; }
.tk-facts { color: var(--mut); font-size: 11px; line-height: 1.4; }

/* ---- tasks x 500 section (js/tasks1102.js) */
.t2-tiles { margin: 8px 0; }
.t2-board-wrap { display: flex; flex-direction: column; gap: 10px; }
.t2-cat-title { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted, #98a2b3); margin: 6px 0 4px; }
.t2-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 8px; }
.t2-fac { border: 1px solid var(--line, #232833); border-radius: 8px; padding: 8px 10px; background: var(--panel-2, rgba(255,255,255,.02)); }
.t2-fac.absent { opacity: .75; }
.t2-fac-head { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.t2-fac-reg, .t2-fac-stat, .t2-terc-lbl { font-size: 11.5px; color: var(--muted, #98a2b3); margin-top: 3px; }
.t2-keys { display: block; font-size: 10.5px; color: var(--muted, #6f7a8c); margin-top: 4px; word-break: break-all; }
.t2-hist, .t2-terc { width: 100%; height: auto; display: block; margin-top: 4px; }
.t2-hist .axis, .t2-terc .axis { stroke: var(--line, #39404d); stroke-width: 1; }
.t2-hist .lbl, .t2-terc .lbl { font-size: 9.5px; fill: var(--muted, #98a2b3); }
.t2-gate { stroke: #e0661f; stroke-width: 1.5; stroke-dasharray: 3 3; }
.t2-gate-lbl { fill: #e0661f; }
.t2-fig { margin: 10px 0; }
.t2-grid-compact .tk-media { display: none; }
.t2-status .muted { color: var(--muted, #98a2b3); }
.t2-task .tk-table td { white-space: nowrap; }
.t2-evidence { border: 1px solid var(--line, #232833); border-radius: 8px; padding: 8px 10px; margin: 8px 0; }
.t2-ev-title { margin: 4px 0; }
.t2-quote { margin: 6px 0; padding: 4px 10px; border-left: 3px solid #e0661f; color: var(--muted, #98a2b3); font-size: 12.5px; }
.t2-ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin-top: 6px; }
.t2-ev-fig { margin: 0; } .t2-ev-fig img { width: 100%; height: auto; display: block; border-radius: 6px; background: #13161d; min-height: 80px; }
.t2-ev-fig figcaption { font-size: 11px; color: var(--muted, #98a2b3); margin-top: 3px; }
.t2-keys-inline { font-family: ui-monospace, monospace; font-size: 10.5px; word-break: break-all; }
.t2-filters { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 4px; }
.t2-filter { font: inherit; font-size: 12px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line, #39404d); background: transparent; color: var(--muted, #98a2b3); cursor: pointer; }
.t2-filter.on { border-color: #3987e5; color: #fff; background: rgba(57,135,229,.18); }
.t2-notes { margin: 4px 0 6px 18px; font-size: 12.5px; color: var(--muted, #98a2b3); } .t2-notes li { margin: 2px 0; }
.t2-task .tk-table td.t2-wrap { white-space: normal; min-width: 260px; max-width: 520px; font-size: 12px; }
.t2-fac.not-realised { border-style: dashed; } .t2-not-realised { color: #e0661f; }