File size: 72,982 Bytes
b80bfab
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9075eca
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b80bfab
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9075eca
 
 
b80bfab
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9075eca
 
 
b80bfab
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412

      /* /next landing variant (hfnx-*): catalog-first hero replacing the SPA
         hero + gallery; everything below (articles, showcase, products,
         footer) stays the SPA's own. Active only with ?next_landing=1. */
      /* Keep main.hero alive (it occupies the shell grid's "hero" area and
         the brand nav sits in the sibling "nav" area - removing the hero
         collapses the grid and the nav drifts). Hide only its children. */
      body.hfnx-active main.hero[data-page="landing"] > *:not(.hfnx) { display: none !important; }
      /* flatten the hero's own grid: its column template (incl. a minmax
         500px video column) survives even with children hidden, making the
         grid wider than the viewport and pushing the centered title right */
      body.hfnx-active main.hero[data-page="landing"] {
        display: block !important; width: 100%; max-width: 100%;
      }
      body.hfnx-active .gallery-section[data-page="landing"] { display: none !important; }
      /* hfnx owns the top chrome: hide the SPA's top-right brand bar and host
         the adopted .brand-stack (real product dropdown) top-LEFT instead */
      body.hfnx-active .landing-nav-wrap { display: none !important; }
      .hfnx { display: none; }
      body.hfnx-active .hfnx { display: block; grid-column: 1 / -1; width: 100%; }
      /* Route policy for the injected hfnx block: the landing route gets the
         full hfnx layout; the logged-in dashboard/bookmarks (route-hf-models)
         and the feature/showcase pages keep ONLY the top menu (brand + nav +
         auth chip) so the site chrome stays consistent; every other route
         (article login/editor/admin, blog preview, viewer, owner) hides hfnx
         entirely - without this the landing hero renders on top of those
         pages because hfnx forces main.hero visible. */
      body.hfnx-active.route-hf-models .hfnx > *:not(.hfnx-top),
      body.hfnx-active.route-hf-watchlist .hfnx > *:not(.hfnx-top),
      body.hfnx-active.route-hf-prerelease .hfnx > *:not(.hfnx-top),
      body.hfnx-active.route-hf-blog-index .hfnx > *:not(.hfnx-top) { display: none !important; }
      body.hfnx-active.route-hf-watchlist .hfnx,
      body.hfnx-active.route-hf-prerelease .hfnx,
      body.hfnx-active.route-hf-blog-index .hfnx { padding-bottom: 0; }
      /* the OAuth login / loading screens (route-hf-models without a content
         surface) were designed full-viewport without chrome - no navbar */
      body.hfnx-active.route-hf-models:not(.hf-models-content-active) .hfnx { display: none !important; }
      body.hfnx-active.route-hf-models .hfnx { padding-bottom: 6px; }
      /* feature + placement pages were designed to stand alone: no navbar,
         and no landing sections below (interactive-articles rail) */
      body.hfnx-active.route-hf-feature-preview .hfnx,
      .page.route-hf-feature-preview .hfnx { display: none !important; }
      body.route-hf-feature-preview .blogs-with-graphs { display: none !important; }
      /* the interactive-articles rail is a landing section - never render it
         on any other route (viewer, owner galleries, blog/docs pages, ...);
         the blog index reuses the rail's card styling and hydrated figures,
         so its own section is exempt */
      body:not(.route-landing) .blogs-with-graphs:not(.hf-blog-index),
      .page:not(.route-landing) .blogs-with-graphs:not(.hf-blog-index) { display: none !important; }
      /* the blog/docs panel has no named grid area - without an explicit
         span, shell auto-placement drops it into the narrow "nav" column
         (squeezing the hero/navbar to the leftover fraction) as soon as the
         rail above it is hidden */
      .page.route-hf-blog-preview .hf-blog-preview,
      body.route-hf-blog-preview .hf-blog-preview {
        grid-column: 1 / -1;
      }
      .page.route-hf-watchlist .hf-watchlist-page,
      body.route-hf-watchlist .hf-watchlist-page {
        grid-column: 1 / -1;
        width: 100%;
        justify-self: stretch;
      }
      .page.route-hf-blog-index .hf-blog-index,
      body.route-hf-blog-index .hf-blog-index {
        grid-column: 1 / -1;
        width: 100%;
        justify-self: stretch;
      }
      /* the prerelease section reuses the .hf-blog-preview container exactly
         (width min(100%,1040px), centered) - span the shell columns and pin
         the blog article width/margins so the box centers like the blog */
      .page.route-hf-prerelease .hf-prerelease,
      body.route-hf-prerelease .hf-prerelease,
      /* companion mode: same article box, shown below the viewer on the
         normal model route (route class is the viewer's, not prerelease's) */
      .page .hf-prerelease.hf-prerelease--companion,
      body .hf-prerelease.hf-prerelease--companion {
        grid-column: 1 / -1;
        width: min(100%, 1040px);
        margin: clamp(24px, 5vw, 62px) auto clamp(42px, 7vw, 92px);
        justify-self: center;
      }
      /* let the injected panel fill the blog-width container (drop the
         fragment's own max-widths/padding so it matches the blog article box) */
      .hf-prerelease .k3wrap,
      .hf-prerelease .wrap { max-width: none; margin: 0; padding: 0; }
      .hf-blog-index__inner {
        max-width: 900px;
        margin: 0 auto;
        padding: 16px 22px 80px;
      }
      .hf-blog-index__crumbs { font-size: 14px; color: #7d92ab; margin: 0 0 26px; }
      .hf-blog-index__crumbs a { color: #9db4cc; text-decoration: none; }
      .hf-blog-index__title { font-size: 34px; margin: 0 0 8px; color: #eef4fb; letter-spacing: -0.01em; }
      .hf-blog-index__lede { color: #9db4cc; margin: 0 0 34px; max-width: 640px; font-size: 16px; }
      .hf-blog-index__post {
        display: flex;
        gap: 20px;
        align-items: center;
        text-decoration: none;
        color: inherit;
        border: 1px solid rgba(125, 146, 171, 0.18);
        border-radius: 16px;
        padding: 18px;
        margin-bottom: 18px;
        background: rgba(13, 21, 36, 0.6);
        transition: border-color 0.15s ease;
      }
      .hf-blog-index__post:hover { border-color: rgba(156, 255, 99, 0.45); }
      .hf-blog-index__thumb {
        display: block;
        flex: 0 0 210px;
        width: 210px;
        border-radius: 10px;
        overflow: hidden;
        background: rgba(5, 9, 20, 0.7);
      }
      .hf-blog-index__thumb img { display: block; width: 100%; height: auto; }
      .hf-blog-index__thumb--figure { aspect-ratio: 404 / 238; position: relative; }
      .hf-blog-index__still {
        display: block; width: 100%; height: 100%;
        position: absolute; top: 0; left: 0; object-fit: cover;
      }
      .hf-blog-index__thumb--figure .hf-blog-index__figurebox {
        position: absolute;
        top: 0;
        left: 0;
        width: 404px;
        height: 238px;
        transform-origin: top left;
        pointer-events: none;
        --blogs-figure-height: 238px;
        /* stays hidden (still shows through) until a real scale is applied */
        opacity: 0;
      }
      .hf-blog-index__thumb--figure .hf-blog-index__figurebox[data-scaled="true"] {
        opacity: 1;
      }
      /* the rail sizes the figure wells for its card grid (the LiquidAI one
         is a narrow --compact well); in the index thumb the cloned well must
         fill the whole 404x238 stage */
      .hf-blog-index__figurebox .blogs-with-graphs__image-wrap {
        display: block !important;
        width: 404px !important;
        max-width: none !important;
        height: 238px !important;
        margin: 0 !important;
        padding: 0 !important;
      }
      .hf-blog-index__figurebox .blogs-with-graphs__live {
        width: 100% !important;
        height: 238px !important;
        min-height: 238px !important;
      }
      .hf-blog-index__figurebox [data-blogs-figure-source] {
        width: 100% !important;
        height: 100% !important;
      }
      .hf-blog-index__body { min-width: 0; }
      .hf-blog-index__body h2 { margin: 0 0 6px; font-size: 20px; color: #eef4fb; }
      .hf-blog-index__body p { margin: 0 0 10px; color: #9db4cc; font-size: 15px; line-height: 1.55; }
      .hf-blog-index__meta { color: #62788f; font-size: 13px; }
      .hf-blog-index__date {
        font-size: 11.5px;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
      }
      @media (max-width: 640px) {
        .hf-blog-index__post { flex-direction: column; align-items: stretch; }
        .hf-blog-index__thumb { flex: none; width: 100%; }
      }
      .hf-blog-index__backlinks { margin-top: 40px; color: #9db4cc; font-size: 15px; }
      .hf-blog-index__backlinks a { color: #88d7ff; text-decoration: none; }
      body.hfnx-active.route-hf-models .hfnx-top,
      body.hfnx-active.route-hf-watchlist .hfnx-top,
      body.hfnx-active.route-hf-blog-index .hfnx-top {
        position: relative;
        z-index: 20;
        /* mirror the landing hero container - min(100vw - 52px, 1560px)
           centered - so the brand sits 26px from the side and 24px from the
           top on every route the navbar appears on */
        width: min(100%, 1612px);
        margin: 0 auto 8px;
        padding: 24px 26px 10px;
        border-bottom: 0;
        background: transparent;
        backdrop-filter: blur(18px);
      }
      /* prerelease reuses the blog-article route chrome exactly: the shell
         already insets it, so the navbar only needs a 2px top nudge (matches
         route-hf-blog-preview, not the wider blog-index navbar) */
      body.hfnx-active.route-hf-prerelease .hfnx-top {
        position: relative;
        z-index: 20;
        width: 100%;
        margin: 0 0 8px;
        padding: 2px 0 10px;
        border-bottom: 0;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
      }
      /* the blog index is a plain scrolling page - the blurred navbar plate
         reads as a stray rectangle on it */
      body.hfnx-active.route-hf-blog-index .hfnx-top,
      body.hfnx-active.route-hf-prerelease .hfnx-top {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
      }
      body.hfnx-active.route-hf-models.hf-models-content-active .hfnx {
        padding-bottom: 0;
      }
      body.hfnx-active.route-hf-models.hf-models-content-active .hf-models-page:not(.hf-article-login-page) {
        align-content: start;
        align-items: stretch;
        min-height: 0;
        padding-top: 0;
      }
      body.hfnx-active.route-hf-models.hf-models-content-active .hf-models-shell {
        width: min(100%, 1240px);
        margin: 0 auto;
      }
      body.hfnx-active.route-hf-article-login .hfnx,
      body.hfnx-active.route-hf-article-picker .hfnx,
      body.hfnx-active.route-hf-article-editor .hfnx,
      body.hfnx-active.route-hf-article-admin .hfnx,
      body.hfnx-active.route-viewer .hfnx,
      body.hfnx-active.route-owner .hfnx { display: none !important; }
      /* the blog preview (quickstart guide) keeps the top menu like the
         dashboard routes - same landing-mirrored geometry */
      body.hfnx-active.route-hf-blog-preview .hfnx > *:not(.hfnx-top) { display: none !important; }
      body.hfnx-active.route-hf-blog-preview .hfnx { padding-bottom: 0; }
      body.hfnx-active.route-hf-blog-preview .hfnx-top {
        position: relative;
        z-index: 20;
        /* the landing shell already insets this route 26px/22px - only a
           2px top nudge is needed to land the brand at the usual 26/24 */
        width: 100%;
        margin: 0 0 8px;
        padding: 2px 0 10px;
        border-bottom: 0;
        background: transparent;
        backdrop-filter: blur(18px);
      }
      .hfnx-top { display: flex; align-items: center; gap: 22px; padding: 2px 0 6px; }
      /* The landing brand-stack was built for the top-RIGHT corner: trigger
         align-self flex-end + a hover translateX slide that aligns it with
         the wider dropdown. Anchored top-LEFT it must not move at all - the
         menu drops down left-aligned underneath instead. */
      /* the hero h1 (a transformed sibling painted later) otherwise sits
         ABOVE the open dropdown and steals :hover over its right half -
         keep the whole top bar, menu included, on top */
      body.hfnx-active .hfnx-top { position: relative; z-index: 30; }
      body.hfnx-active .hfnx-top .brand-stack { align-items: flex-start; width: max-content; }
      body.hfnx-active .hfnx-top .brand-stack::after {
        left: -24px;
        right: -40px;
        height: 42px;
      }
      body.hfnx-active .hfnx-top .brand-stack__trigger {
        align-self: flex-start !important; transform: none !important;
      }
      body.hfnx-active .hfnx-top .brand-stack:hover .brand-stack__trigger,
      body.hfnx-active .hfnx-top .brand-stack:focus-within .brand-stack__trigger {
        transform: none !important;
      }
      body.hfnx-active .hfnx-top .brand-stack__menu {
        position: absolute !important; left: 0 !important; right: auto !important;
        transform: translate(0, -6px) !important;
        isolation: isolate;
      }
      body.hfnx-active .hfnx-top .brand-stack:hover .brand-stack__menu,
      body.hfnx-active .hfnx-top .brand-stack:focus-within .brand-stack__menu,
      body.hfnx-active .hfnx-top .brand-stack.is-open .brand-stack__menu {
        transform: translate(0, 0) !important;
      }
      body.hfnx-active .hfnx-top .brand-stack__item {
        position: relative;
        z-index: 1;
        border-radius: 16px;
        transition: opacity 180ms ease, transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
      }
      body.hfnx-active .hfnx-top .brand-stack__item:hover,
      body.hfnx-active .hfnx-top .brand-stack__item:focus-visible,
      body.hfnx-active .hfnx-top .brand-stack__item.is-nearest {
        opacity: 1;
        transform: translateY(-1px);
        background: rgba(255, 255, 255, 0.055);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 12px 28px rgba(0, 0, 0, 0.2);
        outline: none;
      }
      /* while the dropdown is open the trigger highlights like a first menu
         item when the pointer is nearest to it */
      body.hfnx-active .hfnx-top .brand-stack__trigger {
        border-radius: 16px;
        transition: opacity 180ms ease, background 180ms ease, box-shadow 180ms ease;
      }
      body.hfnx-active .hfnx-top .brand-stack:hover .brand-stack__trigger.is-nearest,
      body.hfnx-active .hfnx-top .brand-stack:focus-within .brand-stack__trigger.is-nearest {
        opacity: 1;
        background: rgba(255, 255, 255, 0.055);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 12px 28px rgba(0, 0, 0, 0.2);
      }
      .hfnx-top__nav { display: flex; align-items: center; gap: 18px; margin-left: 8px; }
      .hfnx-nav-menu {
        position: relative;
        display: inline-flex;
        align-items: center;
      }
      .hfnx-nav-menu::after {
        content: "";
        position: absolute;
        top: 100%;
        left: -18px;
        right: -18px;
        height: 14px;
        z-index: 49;
      }
      .hfnx-nav-menu__panel {
        position: absolute;
        top: calc(100% + 10px);
        /* item text (1px border + 7px panel pad + 12px item pad) left-aligns
           with the trigger text */
        left: -20px;
        z-index: 50;
        display: grid;
        gap: 2px;
        min-width: 184px;
        padding: 7px;
        border: 1px solid rgba(255, 255, 255, 0.11);
        border-radius: 16px;
        background: rgba(8, 15, 27, 0.86);
        box-shadow: 0 22px 54px rgba(0, 0, 0, 0.38);
        backdrop-filter: blur(18px) saturate(1.15);
        -webkit-backdrop-filter: blur(18px) saturate(1.15);
        opacity: 0;
        pointer-events: none;
        transform: translate(0, -4px);
        transition: opacity 150ms ease, transform 150ms ease;
      }
      .hfnx-nav-menu:hover .hfnx-nav-menu__panel,
      .hfnx-nav-menu:focus-within .hfnx-nav-menu__panel {
        opacity: 1;
        pointer-events: auto;
        transform: translate(0, 0);
      }
      .hfnx-nav-menu__item {
        display: block;
        padding: 9px 12px;
        border-radius: 11px;
        line-height: 1;
      }
      .hfnx-nav-menu__item:hover,
      .hfnx-nav-menu__item:focus-visible {
        background: rgba(255, 255, 255, 0.065);
      }
      .hfnx-auth {
        margin-left: auto; position: relative; display: flex; align-items: center; gap: 9px;
      }
      .hfnx-space-like {
        display: inline-flex; align-items: center; gap: 5px; padding: 8px 13px;
        border-radius: 999px; border: 1px solid rgba(255, 129, 153, 0.2);
        color: var(--muted-strong, #c5d0e3); background: rgba(255, 129, 153, 0.045);
        font: 600 13px "Inter", sans-serif; line-height: 1; white-space: nowrap;
        box-shadow: 0 0 0 rgba(255, 129, 153, 0);
        transition: color 0.15s, border-color 0.15s, background 0.15s, box-shadow 0.15s, transform 0.15s;
      }
      .hfnx-space-like__heart { color: #ff8199; font-size: 14px; line-height: 0.8; }
      .hfnx-space-like__label--mobile,
      .hfnx-space-like__label--narrow { display: none; }
      .hfnx-space-like:hover,
      .hfnx-space-like:focus-visible {
        color: var(--text, #f5f8ff); border-color: rgba(255, 129, 153, 0.55);
        background: rgba(255, 129, 153, 0.1);
        box-shadow: 0 0 18px rgba(255, 129, 153, 0.12);
        transform: translateY(-1px); outline: none;
      }
      @media (max-width: 640px) {
        /* Phone: brand + account on the first row, nav links wrap to a
           second row that scrolls horizontally (no visible scrollbar). */
        .hfnx-top { flex-wrap: wrap; gap: 8px 16px; }
        .hfnx-top__nav {
          order: 3;
          flex: 1 0 100%;
          margin-left: 0;
          overflow-x: auto;
          scrollbar-width: none;
          -webkit-overflow-scrolling: touch;
          padding: 2px 0 4px;
        }
        .hfnx-top__nav::-webkit-scrollbar { display: none; }
        .hfnx-top__nav a { white-space: nowrap; }
        .hfnx-nav-menu__panel { display: none; }
        .hfnx-auth { gap: 6px; }
        .hfnx-space-like { padding: 7px 9px; font-size: 11.5px; }
        .hfnx-space-like__label--desktop { display: none; }
        .hfnx-space-like__label--mobile { display: inline; }
        .hfnx-auth__login { padding-left: 10px; padding-right: 10px; }
      }
      .hfnx-auth__login {
        display: inline-block; padding: 9px 18px; border-radius: 999px;
        border: 1px solid var(--stroke, rgba(255,255,255,0.1));
        color: var(--muted-strong, #c5d0e3); font: 600 13.5px "Inter", sans-serif;
        background: rgba(255, 255, 255, 0.04); transition: all 0.15s; cursor: pointer;
      }
      .hfnx-auth__login:hover { border-color: rgba(156, 255, 99, 0.4); color: var(--text, #f5f8ff); }
      @media (max-width: 480px) {
        .hfnx-top { gap: 8px 10px; }
        .hfnx-auth__login { padding: 8px 9px; font-size: 12.5px; }
      }
      @media (max-width: 374px) {
        .hfnx-auth { gap: 4px; }
        .hfnx-space-like { padding: 6px 7px; font-size: 11px; }
        .hfnx-space-like__label--mobile { display: none; }
        .hfnx-space-like__label--narrow { display: inline; }
        .hfnx-auth__login { padding: 7px 8px; font-size: 12px; }
      }
      .hfnx-auth__chip {
        display: flex; align-items: center; gap: 9px; padding: 5px 13px 5px 6px;
        border-radius: 999px; border: 1px solid var(--stroke, rgba(255,255,255,0.1));
        background: rgba(255, 255, 255, 0.04); cursor: pointer;
        font: 600 13.5px "Inter", sans-serif; color: var(--text, #f5f8ff);
        transition: border-color 0.15s;
      }
      .hfnx-auth__chip:hover { border-color: rgba(156, 255, 99, 0.4); }
      .hfnx-auth__avatar {
        width: 26px; height: 26px; border-radius: 50%; object-fit: cover;
        background: #fff; display: block;
      }
      .hfnx-auth__avatar--letter {
        display: flex; align-items: center; justify-content: center;
        background: linear-gradient(135deg, rgba(156, 255, 99, 0.9), rgba(136, 215, 255, 0.85));
        color: #07100d; font: 700 13px "Inter", sans-serif;
      }
      .hfnx-auth__menu {
        position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 180px;
        display: none; padding: 6px;
        background: #0a121f; border: 1px solid var(--stroke, rgba(255,255,255,0.1));
        border-radius: 14px; box-shadow: 0 24px 54px rgba(0, 0, 0, 0.45);
      }
      .hfnx-auth__menu.is-open { display: grid; gap: 2px; }
      .hfnx-auth__item {
        display: block; width: 100%; text-align: left; padding: 9px 14px; border: 0;
        border-radius: 10px; background: transparent; cursor: pointer;
        color: var(--muted-strong, #c5d0e3); font: 500 13.5px "Inter", sans-serif;
      }
      .hfnx-auth__item:hover { background: rgba(255, 255, 255, 0.05); color: var(--text, #f5f8ff); }
      .hfnx-top__nav a { color: var(--muted, #91a0ba); font-size: 13.5px; transition: color 0.15s; }
      .hfnx-top__nav a:hover { color: var(--text, #f5f8ff); }
      .hfnx-hero { padding: 30px 0 0; text-align: center; }
      /* desktop: slide the title + search bar aside while the brand product
         menu is open so the dropdown never overlaps them */
      .hfnx-hero, .hfnx-command { transition: transform 240ms ease; }
      @media (min-width: 981px) {
        body.hfnx-menu-open .hfnx-hero,
        body.hfnx-menu-open .hfnx-command { transform: translateX(150px); }
      }
      /* max-width:none beats the route-landing .hero h1 { max-width:10.5ch }
         rule - with nowrap text that shrunk box centered while the TEXT
         overflowed it to the right, looking off-center */
      body.hfnx-active .hfnx-hero h1 {
        margin: 0 auto; white-space: nowrap; max-width: none !important;
        width: 100%;
        font-size: clamp(1.3rem, 4.2vw, 3.3rem); font-weight: 800;
        line-height: 1.04; letter-spacing: -0.04em;
      }
      .hfnx-hero h1 em { font-style: normal; color: var(--lime, #9cff63); }
      .hfnx-hero p {
        margin: 16px auto 0; max-width: 56ch; color: var(--muted-strong, #c5d0e3);
        font-size: 15.5px; line-height: 1.6;
      }
      .hfnx-command { padding: 26px 0 16px; }
      /* The search+filters block follows the scroll over the results (like
         /models) - also with an empty (trending) field, as a reminder that
         everything shown is searchable. position:sticky scoped to the
         catalog section releases it automatically once the results end,
         and re-engages when scrolling back up into them. */
      /* .page's overflow:hidden makes it the sticky containing block (which
         never scrolls) - overflow:clip clips identically without creating a
         scroll container, so the stick block tracks the viewport */
      body.hfnx-active .page.route-landing { overflow: clip; }
      /* Armed (searching) but NOT pinned: zero visual change - the block is
         fully transparent and identical to the normal page. The glass +
         bottom fade live on a pseudo-layer that fades in only when pinned. */
      /* top:-72px lets the search bar + button scroll briefly out of view;
         the compact overlay then glides in 72px later (image-1 trigger). The
         pinned state snaps top back to 0 - the FLIP glide masks the jump. */
      .hfnx-stick-anchor { display: block; height: 0; width: 100%; }
      /* the pin swap collapses the stick by ~200px (spacer-compensated, net
         zero). Chrome's scroll anchoring may still pick a node INSIDE the
         stick as its anchor and "follow" it upward when the layout collapses,
         scrolling the page back to the top mid-gesture on mobile (observed
         via mobile_scroll_snapback field events: ~230px up, no programmatic
         call, stick pinned). Exclude the whole stick from anchor selection. */
      .hfnx-stick, .hfnx-stick *, #hfnx-stick-spacer { overflow-anchor: none; }
      .hfnx-stick.is-sticky { position: sticky; top: -72px; z-index: 6; }
      .hfnx-stick.is-sticky.is-pinned { top: 0; }
      /* same non-blur transparent-black as the /models toolbar, with the
         fade-out starting above the bar's bottom edge like /models */
      .hfnx-stick::before {
        content: ""; position: absolute; inset: 0 -22px -34px -22px; z-index: -1;
        background: linear-gradient(180deg, rgba(5, 9, 20, 0.97) calc(100% - 52px), rgba(5, 9, 20, 0));
        opacity: 0; transition: opacity 220ms ease; pointer-events: none;
      }
      .hfnx-stick.is-pinned::before { opacity: 1; }
      .hfnx-stick.arch-open::before { opacity: 1; }
      /* past the pin threshold but the compact swap still waiting for the
         gesture to settle (coarse pointers): show the glass right away so
         the expanded pills never float transparently over the grid */
      .hfnx-stick.is-cover::before { opacity: 1; }
      /* the swap animation's frozen snapshot lives inside a wrap that IS
         the glass - the snapshot's own backdrop would double-darken it */
      .hfnx-stick--swap-clone::before { display: none !important; }
      /* while the morph wrap is the glass, the facsimile beneath keeps its
         own backdrop off - two stacked 0.97 gradients turn the fade skirt
         nearly opaque and it blinks when the wrap goes. Removing the class
         at wrap-fade start crossfades the two identical gradients. */
      .hfnx-stick--glass-wait::before { opacity: 0 !important; }
      /* suppress the ::before opacity transition for the single-frame
         wrap-to-glass handoff */
      .hfnx-stick--glass-flip::before { transition: none !important; }
      /* between the sticky point and the pin threshold the stuck stick is
         progressively hidden from the bottom in lockstep with the scroll
         (--stick-clip, set per scroll event): pill rows dissolve into the
         rising edge and the first card is never covered. The mask mimics
         the glass ::before's own 52px bottom fade, just moved up by the
         clip - no hard edge. The oversized mask box (+44px sideways,
         +134px vertically at -22,-100) keeps the glass's side/bottom bleed
         painted. Paint-only - layout untouched, snapback protections
         unaffected. */
      .hfnx-stick.is-condensing {
        -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - var(--stick-clip, 0px) - 86px), transparent calc(100% - var(--stick-clip, 0px) - 34px));
        -webkit-mask-size: calc(100% + 44px) calc(100% + 134px);
        -webkit-mask-position: -22px -100px;
        -webkit-mask-repeat: no-repeat;
        mask-image: linear-gradient(180deg, #000 calc(100% - var(--stick-clip, 0px) - 86px), transparent calc(100% - var(--stick-clip, 0px) - 34px));
        mask-size: calc(100% + 44px) calc(100% + 134px);
        mask-position: -22px -100px;
        mask-repeat: no-repeat;
      }
      /* pinned: compact /models-style single row - the search bar + button
         join the sort/browse row, match-count collapses, pills drop below */
      /* input resizes instantly so the spacer compensation is exact in the
         same frame; the FLIP glide masks the size change visually */
      .hfnx-stick .hfnx-hint { transition: opacity 160ms ease, max-height 200ms ease; overflow: hidden; max-height: 40px; }
      .hfnx-stick.is-pinned { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 10px 0 12px; }
      .hfnx-stick.is-pinned .hfnx-command { flex: 1 1 380px; min-width: 280px; padding: 0; margin: 0; }
      .hfnx-stick.is-pinned .hfnx-command__bar { max-width: none; }
      .hfnx-stick.is-pinned .hfnx-command__input { padding: 10px 16px 10px 44px; font-size: 14px; }
      .hfnx-stick.is-pinned .hfnx-command__go { padding: 0 20px; }
      .hfnx-stick.is-pinned .hfnx-hint { display: none; }
      .hfnx-stick.is-pinned .hfnx-filterbar { display: contents; }
      .hfnx-stick.is-pinned .hfnx-status { display: none; }
      .hfnx-stick.is-pinned .hfnx-sort { margin-left: 0; }
      .hfnx-stick.is-pinned .hfnx-pills {
        flex-basis: 100%; flex-wrap: nowrap; gap: 6px; margin-top: 0;
        overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
      }
      .hfnx-stick.is-pinned .hfnx-pills::-webkit-scrollbar { display: none; }
      .hfnx-stick.is-pinned .hfnx-pill { flex: none; }
      /* the arch panel is a flex item of the pinned row: without a basis it
         sizes to max-content (all 39 concept pills in one line, ~7000px) and
         runs off the right edge of the phone. Pin it to the row width; its
         pills row then scrolls horizontally like the category pills above. */
      .hfnx-stick.is-pinned .hfnx-archpanel {
        flex-basis: 100%; min-width: 0; max-width: 100%;
        margin-top: 0; padding: 10px 12px;
      }
      .hfnx-command__bar { display: flex; gap: 10px; align-items: stretch; max-width: 860px; margin: 0 auto; }
      .hfnx-command__wrap { position: relative; flex: 1; }
      .hfnx-command__input {
        width: 100%; padding: 17px 20px 17px 48px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(156, 255, 99, 0.22); border-radius: 16px;
        color: var(--text, #f5f8ff); font: 500 16px "Inter", sans-serif;
        outline: none; transition: border-color 0.15s, box-shadow 0.15s;
      }
      .hfnx-command__input::placeholder { color: #5c6b81; font-weight: 400; }
      .hfnx-command__input:focus {
        border-color: rgba(156, 255, 99, 0.55);
        box-shadow: 0 0 0 3px rgba(156, 255, 99, 0.1), 0 18px 44px rgba(0, 0, 0, 0.35);
      }
      .hfnx-command__icon {
        position: absolute; left: 17px; top: 50%; transform: translateY(-50%);
        width: 18px; height: 18px; color: #5c6b81; pointer-events: none;
      }
      .hfnx-command__go {
        padding: 0 26px; border: 0; border-radius: 16px; cursor: pointer;
        background: var(--lime, #9cff63); color: #07100d;
        font: 700 15px "Inter", sans-serif; white-space: nowrap;
        transition: transform 0.12s, box-shadow 0.12s;
      }
      .hfnx-command__go:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(156, 255, 99, 0.24); }
      .hfnx-hint {
        max-width: 860px; margin: 9px auto 0; min-height: 18px;
        color: var(--muted, #91a0ba); font-size: 12.5px; text-align: center;
      }
      .hfnx-hint b { color: var(--lime, #9cff63); font-weight: 600; }
      .hfnx-hint kbd {
        font: 600 11px "Inter", sans-serif; color: var(--muted-strong, #c5d0e3);
        border: 1px solid var(--stroke, rgba(255,255,255,0.1)); border-bottom-width: 2px;
        border-radius: 5px; padding: 1px 6px; margin: 0 1px;
      }
      .hfnx-notify {
        display: none; max-width: 860px; margin: 14px auto 4px; padding: 16px 18px;
        border: 1px solid rgba(156, 255, 99, 0.22); border-radius: 16px;
        background: linear-gradient(120deg, rgba(156, 255, 99, 0.05), rgba(136, 215, 255, 0.04));
        text-align: left; position: relative;
      }
      .hfnx-notify.is-visible { display: block; }
      .hfnx-notify__close {
        position: absolute; top: 10px; right: 12px; width: 26px; height: 26px;
        border: none; border-radius: 8px; background: none; cursor: pointer;
        color: var(--muted, #91a0ba); font-size: 17px; line-height: 26px; padding: 0;
      }
      .hfnx-notify__close:hover { color: var(--text, #f5f8ff); background: rgba(255, 255, 255, 0.06); }
      .hfnx-notify__title { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: var(--text, #f5f8ff); }
      .hfnx-notify__sub { margin: 0 0 12px; font-size: 13px; color: var(--muted, #91a0ba); line-height: 1.5; }
      .hfnx-notify__row { display: flex; gap: 10px; flex-wrap: wrap; }
      .hfnx-notify__email {
        flex: 1 1 240px; padding: 12px 16px; border-radius: 12px;
        background: rgba(255, 255, 255, 0.05); border: 1px solid var(--stroke, rgba(255,255,255,0.1));
        color: var(--text, #f5f8ff); font: 14px "Inter", sans-serif; outline: none;
      }
      .hfnx-notify__email:focus { border-color: rgba(156, 255, 99, 0.45); }
      .hfnx-notify__btn {
        padding: 12px 22px; border: 0; border-radius: 12px; cursor: pointer;
        background: var(--lime, #9cff63); color: #07100d;
        font: 700 14px "Inter", sans-serif; white-space: nowrap;
        box-shadow: 0 0 0 rgba(156, 255, 99, 0);
        transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
      }
      .hfnx-notify__btn:hover:not(:disabled),
      .hfnx-notify__btn:focus-visible:not(:disabled) {
        transform: translateY(-1px);
        filter: brightness(1.04) saturate(1.04);
        box-shadow: 0 12px 30px rgba(156, 255, 99, 0.22);
        outline: none;
      }
      .hfnx-notify__btn:disabled { opacity: 0.55; cursor: default; }
      .hfnx-notify__optin {
        display: flex; gap: 5px; align-items: flex-start; margin-top: 11px;
        color: var(--muted, #91a0ba); font-size: 12px; line-height: 1.5; cursor: pointer;
      }
      .hfnx-notify__optin input { margin-top: 2px; accent-color: var(--lime, #9cff63); }
      .hfnx-notify__optin a { color: var(--muted-strong, #c5d0e3); text-decoration: underline; }
      .hfnx-notify__feedback { margin: 10px 0 0; font-size: 13px; color: var(--lime, #9cff63); }
      .hfnx-notify__feedback.is-error { color: #ff9d9d; }
      /* watch popover: the shared notify panel, anchored under the search-results
         watch pill. JS computes left/top/width against the offset parent; at
         narrow widths it spans the full row under the status bar instead. */
      .hfnx-notify--popover {
        position: absolute; z-index: 60; margin: 0; max-width: none;
        padding: 16px;
        background: #0b1322;
        border: 1px solid #434a78;
        border-radius: 14px;
        box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
      }
      .hfnx-notify--popover .hfnx-notify__title { padding-right: 26px; }
      /* the pinned (condensed sticky) bar hides the status row, so an open
         popover would float unanchored - hide it together with its anchor */
      .hfnx-stick.is-pinned .hfnx-notify--popover { display: none; }
      .hfnx-filterbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
      .hfnx-status { color: var(--muted, #91a0ba); font-size: 13px; }
      .hfnx-status b { color: var(--text, #f5f8ff); font-weight: 600; }
      .hfnx-status .hfnx-dot {
        display: inline-block; width: 7px; height: 7px; border-radius: 999px;
        background: var(--lime, #9cff63); margin-right: 7px; vertical-align: 1px;
        animation: hfnx-pulse 2.6s ease-in-out infinite;
      }
      @keyframes hfnx-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
      .hfnx-sort {
        margin-left: auto;
        border: 1px solid var(--stroke, rgba(255,255,255,0.1));
        border-radius: 999px; color: var(--text, #f5f8ff); font: 13px "Inter", sans-serif;
        padding: 8px 36px 8px 14px; outline: none; cursor: pointer;
        /* custom chevron - the native select arrow hugs the pill's right
           edge; this one sits a step further in */
        -webkit-appearance: none;
        appearance: none;
        background:
          url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c5d0e3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
            no-repeat right 12px center / 13px 13px,
          rgba(255, 255, 255, 0.04);
      }
      .hfnx-sort option { background: #0a121f; }
      .hfnx-browse {
        color: var(--lime, #9cff63); font-size: 0.76rem; font-weight: 700;
        letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
      }
      .hfnx-browse:hover { text-decoration: underline; }
      .hfnx-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
      .hfnx-pill {
        background: transparent; border: 1px solid var(--stroke, rgba(255,255,255,0.1));
        border-radius: 999px; color: var(--muted, #91a0ba); font: 12.5px "Inter", sans-serif;
        padding: 6px 13px; cursor: pointer; transition: all 0.15s; white-space: nowrap;
      }
      .hfnx-stick.is-pinned .hfnx-pill { padding-inline: 10px; font-size: 12px; }
      .hfnx-pill:hover { color: var(--text, #f5f8ff); border-color: rgba(156, 255, 99, 0.35); }
      .hfnx-pill.is-on { color: #07100d; background: var(--lime, #9cff63); border-color: var(--lime, #9cff63); font-weight: 600; }
      .hfnx-pill__count { opacity: 0.6; margin-left: 3px; font-variant-numeric: tabular-nums; }
      .hfnx-pill__avatar {
        width: 15px; height: 15px; border-radius: 4px; object-fit: cover;
        vertical-align: -3px; margin: -2px 6px -1px -3px;
      }
      .hfnx-pill__avatar--user { border-radius: 50%; }
      .hfnx-pill--archtoggle svg,
      .hfnx-pill--orgtoggle svg { width: 13px; height: 13px; fill: currentColor; vertical-align: -2px; margin-right: 6px; }
      .hfnx-pill--archtoggle.is-open,
      .hfnx-pill--orgtoggle.is-open { border-color: rgba(156, 255, 99, 0.55); color: var(--text, #f5f8ff); }
      .hfnx-archpanel {
        margin-top: 10px; padding: 12px 14px; border-radius: 16px;
        border: 1px solid rgba(156, 255, 99, 0.22);
        background: linear-gradient(120deg, rgba(156, 255, 99, 0.045), rgba(136, 215, 255, 0.035));
        text-align: left;
      }
      .hfnx-archpanel[hidden] { display: none !important; }
      .hfnx-archpanel__hint { margin: 0 0 10px; font-size: 12.5px; color: var(--muted, #91a0ba); }
      .hfnx-archpanel__hint a { color: var(--muted-strong, #c5d0e3); }
      .hfnx-archpanel__pills { margin-top: 0; }
      /* Mobile: the open panel behaves as a bounded sheet. The sticky stick
         with the full 34-pill box was taller than the screen, so its bottom
         pills were unreachable: scrolling just moved the grid beneath.
         Instead the pill list wraps (also in pinned mode) and scrolls inside
         its own box, overscroll-contained so browsing pills never scrolls
         the page, its height cap keeps the whole stuck stick on screen, and
         the unselected category pills hide to give the sheet more room
         (active ones and the cog stay for context and closing). */
      @media (max-width: 720px) {
        .hfnx-stick.arch-open #hfnx-pills .hfnx-pill:not(.is-on):not(.hfnx-pill--archtoggle):not(.hfnx-pill--orgtoggle) {
          display: none;
        }
        .hfnx-stick.arch-open .hfnx-archpanel__pills {
          flex-wrap: wrap;
          flex-basis: auto;
          overflow-x: hidden;
          overflow-y: auto;
          max-height: 340px;
          max-height: min(46dvh, 380px);
          overscroll-behavior: contain;
          -webkit-overflow-scrolling: touch;
          padding-bottom: 4px;
        }
      }
      .hfnx-archlearn {
        margin-left: 10px; font-size: 12.5px; font-weight: 700;
        color: var(--sky, #88d7ff); text-decoration: none; white-space: nowrap;
      }
      .hfnx-archlearn:hover { text-decoration: underline; }
      .hfnx-arch-tooltip {
        position: fixed; z-index: 2147483647; pointer-events: none;
        max-width: min(360px, calc(100vw - 16px));
        background: #111422; border: 1px solid #2f354a; border-radius: 8px;
        padding: 0.4rem 0.6rem; font-size: 0.83rem; line-height: 1.45;
        color: var(--text, #f5f8ff); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
        opacity: 0; transition: opacity 0.15s ease; text-align: left;
      }
      .hfnx-arch-tooltip.is-visible { opacity: 1; }
      .hfnx-arch-tooltip strong { color: #fff; }
      .hfnx-grid { position: relative; margin-top: 20px; }
      .hfnx-card {
        position: absolute; top: 0; left: 0; color: var(--text, #f5f8ff);
        display: flex; flex-direction: column; gap: 13px; padding: 13px;
        border: 1px solid var(--stroke, rgba(255,255,255,0.1)); border-radius: 22px;
        background: rgba(255, 255, 255, 0.04);
        box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
        cursor: pointer; text-align: left;
        transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
      }
      .hfnx-card:hover, .hfnx-card:focus-visible {
        transform: translateY(-4px);
        border-color: rgba(156, 255, 99, 0.32);
        box-shadow: 0 24px 54px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(156, 255, 99, 0.12);
        outline: none;
      }
      .hfnx-card__art {
        display: flex; position: relative; align-items: center; justify-content: center;
        padding: 18px 16px 14px; border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.07);
        background:
          radial-gradient(circle at 50% 0%, rgba(136, 215, 255, 0.12), transparent 52%),
          radial-gradient(circle at 20% 12%, rgba(156, 255, 99, 0.1), transparent 32%),
          linear-gradient(180deg, rgba(9, 16, 29, 0.92), rgba(5, 9, 20, 0.98));
        overflow: hidden; min-height: 90px;
      }
      .hfnx-card__img { width: 100%; height: auto; display: block; }
      .hfnx-card__level {
        position: absolute; left: 16px; right: 16px; top: 18px; bottom: 14px;
        width: calc(100% - 32px); height: calc(100% - 32px);
        object-fit: contain; opacity: 0; transition: opacity 380ms ease;
        pointer-events: none;
      }
      .hfnx-card__level.is-on { opacity: 1; }
      .hfnx-card__img { transition: opacity 380ms ease; }
      .hfnx-card__art.is-leveled .hfnx-card__img { opacity: 0; }
      .hfnx-card__video {
        position: absolute; inset: 0; width: 100%; height: 100%;
        border-radius: inherit;
        object-fit: contain; opacity: 0; transition: opacity 200ms ease;
        pointer-events: none;
      }
      .hfnx-card__video.is-on { opacity: 1; }
      .hfnx-card__meta { display: grid; gap: 6px; padding: 0 4px 3px; }
      .hfnx-new-count {
        appearance: none; -webkit-appearance: none;
        display: inline-flex; align-items: center;
        margin: -6px -7px; padding: 6px 7px;
        border: 0; border-radius: 999px; background: transparent;
        color: #9cff63; font: inherit; font-weight: 600; line-height: inherit;
        cursor: pointer; white-space: nowrap;
        transition: color 150ms ease, background 150ms ease, box-shadow 150ms ease;
      }
      .hfnx-new-count-control { display: inline-flex; align-items: center; }
      .hfnx-new-count-separator {
        /* Flex-item edge whitespace collapses, so the " · " spacing must be
           margins, not text spaces. */
        margin: 0 0.45ch;
        opacity: 1;
        transition: opacity 150ms ease;
      }
      .hfnx-new-count-control:has(.hfnx-new-count:not(.is-on):hover) .hfnx-new-count-separator {
        opacity: 0;
      }
      /* At rest this is deliberately just the existing green status text.
         Hover/focus reveals the same green outline as the regular filter
         pills; activation fills it without moving the surrounding sentence. */
      .hfnx-new-count:hover {
        background: rgba(156, 255, 99, 0.055);
        box-shadow: inset 0 0 0 1px rgba(156, 255, 99, 0.35);
      }
      .hfnx-new-count:focus-visible {
        outline: none;
        background: rgba(156, 255, 99, 0.07);
        box-shadow: inset 0 0 0 1px rgba(156, 255, 99, 0.55), 0 0 0 2px rgba(156, 255, 99, 0.16);
      }
      .hfnx-new-count.is-on {
        color: #07100d; background: var(--lime, #9cff63);
        box-shadow: inset 0 0 0 1px var(--lime, #9cff63);
      }
      .hfnx-new-count.is-on:hover { background: #b1ff85; box-shadow: inset 0 0 0 1px #b1ff85; }
      .hfnx-card__new { display: inline-block; margin-left: 7px; padding: 1px 6px 1.5px; border-radius: 999px; background: rgba(156, 255, 99, 0.14); border: 1px solid rgba(156, 255, 99, 0.34); color: #9cff63; font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; vertical-align: 2px; }
      .hfnx-card__label { display: flex; align-items: flex-start; gap: 9px; line-height: 1.3; }
      .hfnx-card__avatar {
        width: 20px; height: 20px; flex: 0 0 20px; margin-top: 1px;
        border-radius: 6px; object-fit: cover; background: #fff; padding: 1px;
      }
      .hfnx-card__avatar--user { border-radius: 50%; }
      .hfnx-card__dot { width: 8px; flex: 0 0 8px; height: 8px; align-self: center; border-radius: 999px; background: var(--lime, #9cff63); }
      /* Live-rendered previews (uncataloged results) can be slow or fail;
         cap the reserved box so a pending render never opens a huge gap in
         the masonry, especially in the single mobile column. */
      .hfnx-card__img--live { max-height: 340px; object-fit: contain; }
      .hfnx-card__title { font-size: 1rem; font-weight: 700; overflow-wrap: anywhere; }
      .hfnx-card__owner { color: #8d9cb6; font-weight: 600; }
      .hfnx-card__sub { color: var(--muted, #91a0ba); font-size: 0.8rem; }
      .hfnx-card__action {
        color: var(--lime, #9cff63); font-size: 0.72rem; font-weight: 700;
        letter-spacing: 0.08em; text-transform: uppercase; margin-top: 1px;
      }
      /* Kimi K3 prerelease teaser card: a heavily blurred K2.7-Code architecture
         graph with the release time in the visitor's own timezone in front. */
      .hfnx-card--k3 .hfnx-card__art { min-height: 168px; padding: 0; }
      .hfnx-card__img--k3blur {
        position: absolute; inset: 0; width: 100%; height: 100%;
        object-fit: cover; object-position: center 30%;
        filter: blur(9px) saturate(1.4) brightness(1.03);
        transform: scale(1.08);
      }
      .hfnx-k3__shade {
        position: absolute; inset: 0; border-radius: inherit;
        background: radial-gradient(86% 72% at 50% 47%, rgba(4, 9, 16, 0.62), rgba(4, 9, 16, 0.12));
      }
      .hfnx-k3__over {
        position: absolute; inset: 0; display: flex; flex-direction: column;
        align-items: center; justify-content: center; gap: 1px; text-align: center;
        padding: 10px; pointer-events: none;
      }
      .hfnx-k3__tag { font-size: 10px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: #9cffcf; }
      .hfnx-k3__rel { margin-top: 9px; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #9fc0d6; }
      .hfnx-k3__time { font-size: 46px; font-weight: 800; line-height: 1; color: #eef8ff; font-variant-numeric: tabular-nums; text-shadow: 0 0 22px rgba(120, 220, 255, 0.55); }
      .hfnx-k3__subo { margin-top: 5px; font-size: 12px; font-weight: 600; color: #bfd4e7; }
      .hfnx-skel {
        position: absolute; top: 0; left: 0; border-radius: 22px;
        border: 1px solid var(--stroke, rgba(255,255,255,0.1));
        background:
          linear-gradient(100deg, transparent 32%, rgba(156, 255, 99, 0.05) 48%, rgba(136, 215, 255, 0.06) 52%, transparent 68%),
          rgba(255, 255, 255, 0.03);
        background-size: 220% 100%, auto;
        animation: hfnx-pulse 2.2s ease-in-out infinite;
      }
      .hfnx-showmore { display: none; text-align: center; margin-top: 26px; }
      .hfnx-showmore.is-visible { display: block; }
      .hfnx-showmore button {
        padding: 12px 26px; border-radius: 999px; cursor: pointer;
        background: rgba(255, 255, 255, 0.05); border: 1px solid var(--stroke, rgba(255,255,255,0.1));
        color: var(--muted-strong, #c5d0e3); font: 600 13.5px "Inter", sans-serif; transition: all 0.15s;
      }
      .hfnx-showmore button:hover { border-color: rgba(156, 255, 99, 0.4); color: var(--text, #f5f8ff); }
      .hfnx-empty { display: none; text-align: center; color: var(--muted, #91a0ba); padding: 46px 0 30px; font-size: 15px; }
      .hfnx-empty.is-visible { display: block; }
      .hfnx-empty b { color: var(--text, #f5f8ff); }
      .hfnx-empty__cta {
        display: inline-block; margin-top: 14px; padding: 11px 22px; border-radius: 12px;
        background: var(--lime, #9cff63); color: #07100d; font-weight: 700; font-size: 14px;
      }
      .hfnx-empty__didyou { display: block; margin-top: 16px; font-size: 13px; }
      .hfnx-empty__suggs {
        display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
        margin-top: 10px;
      }
      .hfnx-empty__sugg {
        display: inline-block; padding: 8px 14px; border-radius: 999px;
        border: 1px solid var(--stroke, rgba(255, 255, 255, 0.1));
        background: rgba(255, 255, 255, 0.04);
        color: var(--text, #f5f8ff); font-size: 13px; text-decoration: none;
      }
      .hfnx-empty__sugg:hover { border-color: rgba(156, 255, 99, 0.45); }
      .hfnx-empty__hint {
        display: block; max-width: 460px; margin: 18px auto 0;
        font-size: 13px; line-height: 1.55; color: var(--muted, #91a0ba);
      }
      .hfnx-bottom { margin-bottom: 26px; }

      /* ------------------------------------------------------------------ */
      /* Dashboard catalog cards: same language as the /models gcards - art  */
      /* well with the frameless graph, owner avatar row, actions pinned to  */
      /* the card bottom, hover video / level tour overlays.                 */
      /* ------------------------------------------------------------------ */
      .hf-model-card--catalog .hf-model-card__art,
      .hf-model-card--graph-preview .hf-model-card__art {
        display: flex; position: relative; align-items: center; justify-content: center;
        margin: 0 0 10px; padding: 20px 18px 16px;
        border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.06);
        background:
          radial-gradient(circle at 50% 0%, rgba(136, 215, 255, 0.12), transparent 52%),
          radial-gradient(circle at 20% 12%, rgba(156, 255, 99, 0.1), transparent 32%),
          linear-gradient(180deg, rgba(9, 16, 29, 0.92), rgba(5, 9, 20, 0.98)), #050914;
        overflow: hidden;
      }
      .hf-model-card--catalog .hf-model-card__graph,
      .hf-model-card--graph-preview .hf-model-card__graph {
        position: relative; z-index: 1; display: block;
        width: 100%; max-width: none; height: auto; padding: 0;
        filter: saturate(0.98) contrast(1.04) drop-shadow(0 16px 26px rgba(0, 0, 0, 0.24));
        transition: opacity 380ms ease;
      }
      .hf-model-card__art.is-leveled .hf-model-card__graph { opacity: 0; }
      .hf-model-card__video {
        position: absolute; inset: 0; width: 100%; height: 100%;
        border-radius: inherit; object-fit: contain;
        opacity: 0; transition: opacity 200ms ease; pointer-events: none;
      }
      .hf-model-card__video.is-on { opacity: 1; }
      .hf-model-card__level {
        position: absolute; left: 18px; right: 18px; top: 20px; bottom: 16px;
        width: calc(100% - 36px); height: calc(100% - 36px);
        object-fit: contain; opacity: 0; transition: opacity 380ms ease;
        pointer-events: none;
      }
      .hf-model-card__level.is-on { opacity: 1; }
      .hf-model-card__id { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
      .hf-model-card__avatar {
        width: 28px; height: 28px; border-radius: 8px; object-fit: cover;
        background: #fff; padding: 2px; flex: none;
      }
      .hf-model-card__avatar--user { border-radius: 50%; }
      .hf-model-card__id-text { min-width: 0; }
      .hf-model-card--catalog .hf-model-card__repo { font-size: 13.5px; }
      .hf-model-card--catalog .hf-model-card__meta { margin-top: 0; }

      /* sticky column titles on the /next dashboard: seamless until pinned,
         then the same non-blur dark gradient + bottom fade as /models; the
         bulk button glides up beside its title (FLIP in JS) */
      body.hfnx-active .page.route-hf-models {
        overflow: clip;
        position: relative;
        isolation: isolate;
      }
      body.hfnx-active .hf-models-column__head {
        position: sticky; top: 0; z-index: 32;
        display: grid; grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px; align-items: center; min-height: 46px;
        margin: -6px -10px 8px; padding: 10px 10px 8px;
      }
      /* ONE shared veil spans the full page width behind every pinned head,
         painted in the page's own tone - the per-column near-black boxes had
         hard edges at each column boundary */
      .hf-models-sticky-veil {
        position: fixed; top: 0; left: 0; right: 0; height: 96px;
        z-index: 24; pointer-events: none; opacity: 0;
        transition: opacity 200ms ease;
        background: linear-gradient(
          180deg,
          rgba(11, 15, 32, 0.97) 0%,
          rgba(11, 15, 32, 0.9) 46%,
          rgba(11, 15, 32, 0) 100%);
      }
      .hf-models-sticky-veil.is-visible { opacity: 1; }
      body.hfnx-active .hf-models-column__head > h3 { margin: 0; }
      body.hfnx-active .hf-models-column__head > * {
        position: relative;
        z-index: 2;
      }
      body.hfnx-active .hf-models-column__head h3 { white-space: nowrap; }
      body.hfnx-active .hf-models-column__head.is-pinned {
        min-height: 46px;
      }

      /* ---- dashboard declutter: counts live as badges in the column heads,
         the intro count line and the stat pill row are redundant ---- */
      body.hfnx-active .hf-models-dashboard__stats { display: none !important; }
      body.hfnx-active #hf-models-dashboard-intro { display: none; }
      /* professional column titles: quiet small-caps label + neutral count
         badge (accent only when non-zero); the base h3's own sticky box is
         disabled - the head wrapper is the one sticky element */
      body.hfnx-active .hf-models-column h3 {
        position: static; top: auto; z-index: auto;
        padding: 0; margin: 0; border: 0; border-radius: 0;
        background: none; backdrop-filter: none; box-shadow: none;
        display: flex; align-items: center; justify-content: space-between;
        font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
        color: var(--muted, #91a0ba); font-weight: 650;
      }
      body.hfnx-active .hf-models-column h3[data-count]::after {
        content: attr(data-count);
        display: inline-grid; place-items: center;
        min-width: 20px; height: 20px; padding: 0 7px;
        border-radius: 999px; font-size: 11px; font-weight: 700;
        letter-spacing: 0; background: rgba(255, 255, 255, 0.07);
        color: var(--muted, #91a0ba);
      }
      body.hfnx-active .hf-models-column h3:not([data-count="0"]):not([data-count="..."])[data-count]::after {
        background: rgba(156, 255, 99, 0.16);
        color: var(--lime, #9cff63);
      }
      /* empty dashboard fits the viewport: no filler height, no scrollbar */
      body.hfnx-active .hf-models-dashboard { padding-bottom: 24px; }
      body.hfnx-active .hf-models-column { min-height: 0; }
      body.hfnx-active .hf-models-column__list:empty { min-height: 0; }
      /* ready/featured card actions side by side */
      body.hfnx-active .hf-model-card__actions { flex-wrap: nowrap; }
      body.hfnx-active .hf-model-card__actions .hf-model-card__button {
        flex: 1 1 0; min-width: 0; padding: 7px 8px;
        display: inline-flex; align-items: center; justify-content: center; gap: 6px;
        white-space: nowrap; font-size: 13px; border-radius: 10px;
      }
      /* "Write article" carries more text than "Feature" - split the row
         asymmetrically so its label gets breathing room */
      body.hfnx-active .hf-model-card__actions .hf-model-card__button--write { flex-grow: 1.22; }
      body.hfnx-active .hf-model-card__actions .hf-model-card__button--feature { flex-grow: 0.78; }
      /* bulk buttons: quieter, structured - full-width slim bars */
      body.hfnx-active .hf-models-dashboard__button {
        width: 100%; margin: 0 0 12px; padding: 7px 14px;
        display: inline-flex; align-items: center; justify-content: center; gap: 8px;
        border-radius: 10px; font-size: 13.5px; font-weight: 650;
      }
      body.hfnx-active .hf-models-column__head .hf-models-dashboard__button {
        width: auto; min-width: 0; min-height: 25px;
        margin: 0; padding: 3px 11px;
        border-radius: 8px; font-size: 12px;
        white-space: nowrap;
      }
      body.hfnx-active .hf-models-dashboard__button--primary {
        background: linear-gradient(180deg, #a6ff70, #8df453);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
      }
      body.hfnx-active .hf-models-dashboard__button--secondary .hf-button-icon { width: 13px; height: 13px; }
      /* frosted glass panel for the brand dropdown - DASHBOARD only: the
         landing slides the title + search bar aside instead, so the items
         float free there (no box) */
      body.hfnx-active.route-hf-models .hfnx-top .brand-stack__menu {
        background: rgba(10, 18, 31, 0.72);
        -webkit-backdrop-filter: blur(18px) saturate(1.25);
        backdrop-filter: blur(18px) saturate(1.25);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 18px;
        padding: 14px;
        box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
      }
      /* browsers without backdrop-filter still get an opaque panel instead
         of page text bleeding through the dropdown */
      @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
        body.hfnx-active.route-hf-models .hfnx-top .brand-stack__menu {
          background: rgba(10, 16, 28, 0.96);
        }
      }
      /* mobile landing: nothing slides aside there, so free-floating items
         would collide with the hero - the tap-opened dropdown gets the same
         frosted panel as the dashboard route */
      @media (max-width: 860px) {
        body.hfnx-active .hfnx-top .brand-stack__menu {
          background: rgba(10, 18, 31, 0.9);
          -webkit-backdrop-filter: blur(18px) saturate(1.25);
          backdrop-filter: blur(18px) saturate(1.25);
          border: 1px solid rgba(255, 255, 255, 0.12);
          border-radius: 18px;
          padding: 14px;
          box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
        }
      }
      @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
        @media (max-width: 860px) {
          body.hfnx-active .hfnx-top .brand-stack__menu {
            background: rgba(10, 16, 28, 0.97);
          }
        }
      }
      /* generous invisible hover halo: the item cards can extend past the
         menu's border box (and pointers cut corners between items) - without
         this, grazing just outside the box drops :hover mid-menu and the
         dropdown vanishes */
      body.hfnx-active .hfnx-top .brand-stack__menu::after {
        content: "";
        position: absolute;
        inset: -20px -26px -26px -20px;
        z-index: 0;
      }

      /* ------------------------------------------------------------------ */
      /* Logged-in dashboard restyle (/next only): match the landing design  */
      /* language - floating sections on the page glow instead of one giant  */
      /* bordered box, lime CTAs, pill chips, gcard-style model cards. The   */
      /* legacy (non-next) dashboard keeps its original styling untouched.   */
      /* ------------------------------------------------------------------ */
      body.hfnx-active .hf-models-page {
        background: transparent !important;
      }
      body.hfnx-active .hf-models-dashboard {
        --hf-models-column-title-sticky-top: max(14px, env(safe-area-inset-top));
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        padding: 8px 0 60px;
      }
      body.hfnx-active .hf-models-dashboard__top { align-items: flex-start; gap: 18px; }
      body.hfnx-active .hf-models-dashboard__heading .eyebrow {
        display: inline-flex; align-items: center; gap: 8px;
        font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
        color: var(--muted, #91a0ba); background: none; border: 0; padding: 0;
      }
      body.hfnx-active .hf-models-dashboard__heading .eyebrow::before {
        content: ""; width: 7px; height: 7px; border-radius: 50%;
        background: var(--lime, #9cff63); box-shadow: 0 0 12px rgba(156, 255, 99, 0.8);
      }
      body.hfnx-active .hf-models-dashboard__heading h2 {
        margin: 10px 0 6px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.04;
        letter-spacing: -0.04em; color: var(--text, #f5f8ff); font-weight: 800;
      }
      body.hfnx-active .hf-models-dashboard__intro {
        color: var(--muted, #91a0ba); font-size: 15px; margin: 0;
      }
      body.hfnx-active .hf-models-dashboard__user {
        display: none;
      }
      body.hfnx-active .hf-bookmarks-page {
        padding: 8px 0 26px;
      }
      body.hfnx-active .hf-bookmarks-page__heading .eyebrow {
        display: inline-flex; align-items: center; gap: 8px;
        font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
        color: var(--muted, #91a0ba); background: none; border: 0; padding: 0;
      }
      body.hfnx-active .hf-bookmarks-page__heading .eyebrow::before {
        content: ""; width: 7px; height: 7px; border-radius: 50%;
        background: var(--lime, #9cff63); box-shadow: 0 0 12px rgba(156, 255, 99, 0.8);
      }
      body.hfnx-active .hf-bookmarks-page__heading h2 {
        margin: 10px 0 6px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.04;
        letter-spacing: -0.04em; color: var(--text, #f5f8ff); font-weight: 800;
      }
      body.hfnx-active .hf-bookmarks-page__intro {
        color: var(--muted, #91a0ba); font-size: 15px; margin: 0;
      }
      /* stat chips -> landing pill language, lime hover/active */
      body.hfnx-active .hf-models-dashboard__stats { gap: 8px; margin: 20px 0 4px; }
      body.hfnx-active .hf-models-dashboard__stat {
        display: inline-flex; align-items: center; gap: 8px;
        border: 1px solid var(--stroke, rgba(255,255,255,0.09));
        background: rgba(255, 255, 255, 0.035); border-radius: 999px;
        padding: 7px 15px; color: var(--muted-strong, #c5d0e3);
        font: 600 13px "Inter", sans-serif; cursor: pointer;
        transition: border-color 0.15s, color 0.15s, transform 0.12s;
        box-shadow: none;
      }
      body.hfnx-active .hf-models-dashboard__stat:hover {
        border-color: rgba(156, 255, 99, 0.45); color: var(--text, #f5f8ff);
        transform: translateY(-1px);
      }
      body.hfnx-active .hf-models-dashboard__stat-count {
        display: inline-grid; place-items: center; min-width: 22px; height: 22px;
        padding: 0 6px; border-radius: 999px; background: rgba(156, 255, 99, 0.14);
        color: var(--lime, #9cff63); font-weight: 800; font-size: 12px;
      }
      /* columns: floating glass panels like landing sections */
      body.hfnx-active .hf-models-dashboard__columns { gap: 14px; }
      body.hfnx-active .hf-models-column {
        border: 1px solid var(--stroke, rgba(255,255,255,0.09));
        background: rgba(255, 255, 255, 0.028);
        border-radius: 18px; padding: 18px 16px 16px;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
      }
      body.hfnx-active .hf-models-column > h3 {
        margin: -4px 0 12px; font-size: 12px; letter-spacing: 0.14em;
        text-transform: uppercase; color: var(--muted, #91a0ba); font-weight: 600;
        border-color: rgba(156, 255, 99, 0.12);
        background:
          radial-gradient(circle at 12% 0%, rgba(156, 255, 99, 0.1), transparent 42%),
          linear-gradient(180deg, rgba(7, 14, 25, 0.92), rgba(4, 9, 17, 0.78));
      }
      body.hfnx-active .hf-models-dashboard__bookmarks {
        border: 0; background: transparent; box-shadow: none; padding: 0;
        margin-top: 18px;
      }
      body.hfnx-active .hf-models-column__intro {
        color: var(--muted, #91a0ba); font-size: 13px; margin-top: -6px;
      }
      /* model cards -> gcard language: dark art well, hover lift, lime edge */
      body.hfnx-active .hf-model-card {
        border: 1px solid var(--stroke, rgba(255,255,255,0.09));
        background: linear-gradient(180deg, rgba(11, 18, 32, 0.85), rgba(6, 11, 22, 0.92));
        border-radius: 16px; padding: 14px 14px 12px;
        transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
        box-shadow: none;
      }
      body.hfnx-active .hf-model-card:hover {
        transform: translateY(-3px);
        border-color: rgba(156, 255, 99, 0.35);
        box-shadow: 0 16px 44px rgba(0, 0, 0, 0.42);
      }
      body.hfnx-active .hf-model-card__repo {
        color: var(--text, #f5f8ff); font-weight: 700; font-size: 14px;
        letter-spacing: -0.01em; overflow-wrap: anywhere;
      }
      body.hfnx-active .hf-model-card__meta {
        color: var(--muted, #91a0ba); font-size: 12px; margin-top: 2px;
      }
      body.hfnx-active .hf-model-card__preview-link {
        display: block; margin: 12px 0 10px; border-radius: 12px; overflow: hidden;
      }
      /* one frame only: the catalog art well paints the backdrop, so the
         inner preview keeps no box of its own; the framed-card fallback is
         self-contained and needs neither */
      body.hfnx-active .hf-model-card__preview {
        display: block; margin: 0 auto; padding: 0;
        background: none; border-radius: 0; height: auto; min-height: 0; max-height: none;
      }
      body.hfnx-active .hf-model-card--catalog .hf-model-card__preview,
      body.hfnx-active .hf-model-card--graph-preview .hf-model-card__preview { padding: 0; }
      body.hfnx-active .hf-model-card { display: flex; flex-direction: column; }
      body.hfnx-active .hf-model-card__actions {
        display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 2px;
      }
      body.hfnx-active .hf-model-card[data-dashboard-bucket="ready"] .hf-model-card__actions,
      body.hfnx-active .hf-model-card[data-dashboard-bucket="featured"] .hf-model-card__actions {
        grid-area: auto;
        width: 100%;
        height: auto;
        display: flex;
        flex-wrap: nowrap;
        align-items: stretch;
        align-self: stretch;
        margin-top: auto;
        padding-top: 8px;
      }
      body.hfnx-active .hf-model-card[data-dashboard-bucket="ready"] .hf-model-card__button,
      body.hfnx-active .hf-model-card[data-dashboard-bucket="featured"] .hf-model-card__button {
        width: 100%;
        min-width: 0;
        min-height: 36px;
        height: auto;
        flex: 1 1 100%;
        flex-direction: row;
        white-space: nowrap;
      }
      /* buttons: primary = lime CTA, everything else = outline pill */
      body.hfnx-active .hf-models-dashboard__button,
      body.hfnx-active .hf-model-card__button {
        border-radius: 10px; border: 1px solid var(--stroke, rgba(255,255,255,0.09));
        background: rgba(255, 255, 255, 0.05); color: var(--muted-strong, #c5d0e3);
        font: 620 13.5px/1.2 "Inter", sans-serif; padding: 7px 14px; cursor: pointer;
        transition: all 0.14s ease; box-shadow: none; text-shadow: none;
      }
      body.hfnx-active .hf-models-dashboard__button:hover,
      body.hfnx-active .hf-models-dashboard__button:focus-visible,
      body.hfnx-active .hf-model-card__button:hover,
      body.hfnx-active .hf-model-card__button:focus-visible {
        border-color: rgba(156, 255, 99, 0.45); color: var(--text, #f5f8ff);
        transform: translateY(-1px);
        outline: none;
      }
      body.hfnx-active .hf-models-dashboard__button--primary,
      body.hfnx-active .hf-model-card__button--primary {
        background: var(--lime, #9cff63); border-color: transparent; color: #07100d;
        font-weight: 700;
      }
      body.hfnx-active .hf-models-dashboard__button--primary:hover,
      body.hfnx-active .hf-models-dashboard__button--primary:focus-visible,
      body.hfnx-active .hf-model-card__button--primary:hover,
      body.hfnx-active .hf-model-card__button--primary:focus-visible {
        color: #07100d; box-shadow: 0 10px 28px rgba(156, 255, 99, 0.24);
        border-color: transparent; filter: brightness(1.04) saturate(1.04);
      }
      body.hfnx-active.route-hf-models .hf-models-page:not(.hf-article-login-page) .hf-models-login__actions {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        gap: 12px;
      }
      body.hfnx-active.route-hf-models .hf-models-page:not(.hf-article-login-page) .hf-models-login__button {
        flex: 0 1 360px;
        width: auto;
        min-width: min(100%, 286px);
        padding: 0 22px;
        white-space: nowrap;
      }
      body.hfnx-active.route-hf-models .hf-models-page:not(.hf-article-login-page) .hf-models-login__back {
        flex: 0 0 auto;
        width: auto;
        min-width: 136px;
        margin: 0;
        padding: 0 18px;
        white-space: nowrap;
      }
      body.hfnx-active.route-hf-article-login .hf-models-login__actions,
      .page.route-hf-article-login .hf-models-login__actions {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
      }
      body.hfnx-active.route-hf-article-login .hf-models-login__button,
      .page.route-hf-article-login .hf-models-login__button {
        flex: 0 0 auto;
        width: auto;
        min-width: min(100%, 292px);
        padding: 0 22px;
        white-space: nowrap;
      }
      body.hfnx-active.route-hf-article-login .hf-models-login__back,
      .page.route-hf-article-login .hf-models-login__back {
        flex: 0 0 auto;
        width: auto;
        min-width: 132px;
        margin: 0;
        padding: 0 18px;
        white-space: nowrap;
      }
      @media (max-width: 720px) {
        body.hfnx-active.route-hf-models .hf-models-page:not(.hf-article-login-page) .hf-models-login__actions,
        body.hfnx-active.route-hf-article-login .hf-models-login__actions,
        .page.route-hf-article-login .hf-models-login__actions {
          display: grid;
          grid-template-columns: 1fr;
        }
        body.hfnx-active.route-hf-models .hf-models-page:not(.hf-article-login-page) .hf-models-login__button,
        body.hfnx-active.route-hf-models .hf-models-page:not(.hf-article-login-page) .hf-models-login__back,
        body.hfnx-active.route-hf-article-login .hf-models-login__button,
        body.hfnx-active.route-hf-article-login .hf-models-login__back,
        .page.route-hf-article-login .hf-models-login__button,
        .page.route-hf-article-login .hf-models-login__back {
          width: 100%;
          min-width: 0;
          white-space: normal;
        }
      }
      body.hfnx-active .hf-models-empty { color: var(--muted, #91a0ba); }
      /* loading screen: centered brand pulse + shimmer rows, landing tone */
      body.hfnx-active .hf-models-loading {
        display: grid; justify-items: center; align-content: center; gap: 8px;
        min-height: 46vh; text-align: center;
        border: 0; background: transparent; box-shadow: none;
      }
      body.hfnx-active .hf-models-loading[hidden] { display: none; }
      body.hfnx-active .hf-models-loading .eyebrow {
        font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
        color: var(--muted, #91a0ba); background: none; border: 0;
        justify-self: center; width: fit-content; margin: 0;
      }
      body.hfnx-active .hf-models-loading h2 {
        margin: 4px 0 2px; font-size: clamp(24px, 2.6vw, 34px);
        letter-spacing: -0.04em; color: var(--text, #f5f8ff); font-weight: 800;
      }
      body.hfnx-active .hf-models-loading .hf-models-login__status {
        color: var(--muted, #91a0ba); font-size: 14px;
      }
      body.hfnx-active .hf-models-loading::before {
        content: ""; width: 44px; height: 44px; border-radius: 14px; margin-bottom: 10px;
        background: linear-gradient(135deg, #9cff63, #57d364);
        box-shadow: 0 0 34px rgba(156, 255, 99, 0.45);
        animation: hfnx-load-pulse 1.15s ease-in-out infinite;
      }
      body.hfnx-active .hf-models-loading::after {
        content: ""; width: min(320px, 70vw); height: 8px; border-radius: 999px;
        margin-top: 18px;
        background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(156,255,99,0.28) 50%, rgba(255,255,255,0.05) 75%);
        background-size: 200% 100%;
        animation: hfnx-load-shimmer 1.3s linear infinite;
      }
      @keyframes hfnx-load-pulse {
        0%, 100% { transform: scale(1); opacity: 1; }
        50% { transform: scale(0.9); opacity: 0.75; }
      }
      @keyframes hfnx-load-shimmer {
        from { background-position: 200% 0; }
        to { background-position: -200% 0; }
      }