File size: 133,704 Bytes
4302cb8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e517cb0
 
 
 
 
4302cb8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d1349b0
4302cb8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4a99b68
e497f23
4302cb8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3e85cc4
4302cb8
e517cb0
4302cb8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d1349b0
4302cb8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5b2211e
 
 
 
4302cb8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3e85cc4
4302cb8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d1349b0
4302cb8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e497f23
4302cb8
 
 
490c9ea
4302cb8
 
 
 
3e85cc4
4302cb8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d1349b0
4302cb8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e497f23
4302cb8
 
 
490c9ea
4302cb8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90eda61
 
 
 
244e6a1
f13c482
90eda61
 
 
 
 
 
 
 
d1349b0
4302cb8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90eda61
 
 
 
244e6a1
f13c482
90eda61
 
 
 
 
 
 
 
d1349b0
4302cb8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3e85cc4
4302cb8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d1349b0
 
 
 
 
 
 
 
4302cb8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6485961
 
 
 
 
4302cb8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e497f23
 
 
4a99b68
 
4302cb8
4a99b68
4302cb8
 
e497f23
4302cb8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e517cb0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4302cb8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
cbfcbde
 
 
4302cb8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e517cb0
4302cb8
 
 
 
 
 
 
 
 
 
 
 
 
 
490c9ea
 
 
 
 
 
 
4302cb8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
<!doctype html>
<html lang="ko">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Open Discovery Challenge #1 Malaria</title>
<!-- An explicit <head> is not optional here: the platform injects its own tags into the
     document, and with no head to receive them they land ahead of the doctype, which
     drops the whole page into quirks mode. -->
<style>
  :root{
    --bg:#f6f8fc; --panel:#ffffff; --line:#e3e9f2; --ink:#131a26; --muted:#65748c;
    --accent:#0f7b6c; --accent-soft:#e6f5f2; --anchor:#b4740a; --anchor-soft:#fdf4e3;
    --bad:#b3261e; --bar:#0f7b6c; --bar-bg:#eef2f8;
    --shadow:0 1px 2px rgba(19,26,38,.05),0 8px 24px rgba(19,26,38,.06);
  }
  *{box-sizing:border-box}
  html,body{margin:0;padding:0}
  body{background:var(--bg);color:var(--ink);
       font:15px/1.6 -apple-system,"Segoe UI",Roboto,"Malgun Gothic","Apple SD Gothic Neo",sans-serif;
       -webkit-font-smoothing:antialiased}
  .wrap{max-width:1180px;margin:0 auto;padding:26px 20px 70px}

  header{position:relative;background:linear-gradient(135deg,#ffffff 0%,#eef6f4 55%,#e7f0fb 100%);
         border:1px solid var(--line);border-radius:16px;padding:26px 28px;box-shadow:var(--shadow)}
  .ms{margin:0 0 14px;padding:11px 15px;border-radius:10px;font-size:13.5px;line-height:1.65;
      background:linear-gradient(120deg,#f4fbf6 0%,#eef7fb 100%);border:1px solid #cfe6d8;color:#1f4a35}
  .ms b{font-weight:800}
  .ms .n{font-family:var(--m,monospace);font-weight:850;letter-spacing:-.03em}

  #cd{margin:0 0 14px}
  #cd .cdlab{display:block;font-size:10.5px;font-weight:700;letter-spacing:2px;
             text-transform:uppercase;color:var(--muted);margin-bottom:2px}
  #cd .cdval{display:block;font-family:ui-monospace,Menlo,Consolas,monospace;
             font-size:38px;font-weight:800;letter-spacing:-1px;color:#0f1b2d;
             line-height:1.05;font-variant-numeric:tabular-nums;
             /* the digits change every second; without a fixed advance the whole line
                jitters as glyph widths swap under it */
             font-feature-settings:"tnum" 1}
  #cd .cdval .d{color:var(--accent)}
  #cd.over .cdval{color:var(--muted)}
  @media(max-width:720px){#cd .cdval{font-size:28px}}
  .eyebrow{color:var(--accent);font-size:11.5px;font-weight:700;letter-spacing:2.4px;
           text-transform:uppercase;margin:0 0 6px}
  h1{margin:0;font-size:30px;letter-spacing:-.5px;font-weight:800}
  h1 em{font-style:normal;color:var(--accent)}
  .concept{margin:12px 0 0;font-size:19px;font-weight:700;letter-spacing:-.2px;
           color:#1c2a3d;line-height:1.4;max-width:34ch}
  .concept b{color:var(--accent)}
  .sub{color:var(--muted);font-size:14px;margin:10px 0 0;max-width:70ch}
  .wts{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}
  .wts span{font-size:11.5px;font-weight:600;color:#31465e;background:#fff;
            border:1px solid var(--line);border-radius:20px;padding:4px 12px}
  .wts b{color:var(--accent)}

  #intro{margin:0 0 16px;border-radius:14px;overflow:hidden;border:1px solid var(--line);
         background:#0d1420;line-height:0;box-shadow:var(--shadow)}
  #intro:empty{display:none;margin:0;border:0}
  #intro video{width:100%;height:auto;display:block}
  #intro .credit{line-height:1.5;font-size:11px;color:#8ea3c0;background:#0d1420;
                 padding:7px 12px;text-align:right}
  #seasonbar{display:flex;gap:6px;margin-bottom:14px}
  .pager{display:flex;align-items:center;justify-content:center;gap:6px;
    flex-wrap:wrap;padding:14px 4px 2px;font-size:13px}
  .pager button{border:1px solid var(--line);background:#fff;color:var(--muted);
    border-radius:8px;padding:5px 11px;cursor:pointer;font:inherit;min-width:36px}
  .pager button:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}
  .pager button.on{background:var(--accent);color:#fff;border-color:var(--accent)}
  .pager button:disabled{opacity:.4;cursor:default}
  .pager .pinfo{color:var(--muted);margin:0 8px}
  .pager .gap{color:var(--muted);padding:0 2px}
  #seasonbar button{border:1px solid var(--line);background:#fff;color:var(--muted);
                    font:inherit;font-size:12.5px;font-weight:700;padding:7px 14px;
                    border-radius:999px;cursor:pointer;display:flex;align-items:center;
                    gap:7px}
  #seasonbar button.on{background:var(--accent);color:#fff;border-color:var(--accent)}
  #seasonbar .st{font-size:10px;font-weight:800;letter-spacing:.04em;padding:1px 6px;
                 border-radius:999px;background:#eef3fa;color:var(--muted)}
  #seasonbar button.on .st{background:rgba(255,255,255,.22);color:#fff}
  @media(max-width:720px){#seasonbar{flex-wrap:wrap}}
  #tally{position:absolute;top:62px;right:22px;display:flex;gap:8px;z-index:5}
  #tally .t{background:#fff;border:1px solid var(--line);border-radius:10px;
            padding:6px 11px;box-shadow:var(--shadow);text-align:right;line-height:1.15}
  #tally .t b{display:block;font-size:16px;font-weight:800;color:#16223a;
              font-variant-numeric:tabular-nums}
  #tally .t span{font-size:9.5px;color:var(--muted);letter-spacing:.02em}
  @media(max-width:860px){#tally{position:static;margin:0 0 12px;justify-content:flex-start}}
  #langbar{position:absolute;top:20px;right:22px;display:flex;gap:2px;background:#fff;
           border:1px solid var(--line);border-radius:9px;padding:3px;box-shadow:var(--shadow)}
  #langbar button{border:0;background:transparent;color:var(--muted);font:inherit;
                  font-size:12px;font-weight:700;padding:5px 11px;border-radius:6px;cursor:pointer}
  #langbar button.on{background:var(--accent);color:#fff}
  #langnote{position:absolute;top:56px;right:22px;font-size:10.5px;color:var(--muted)}

  .how{margin-top:20px;background:var(--panel);border:1px solid var(--line);
       border-radius:16px;padding:20px 22px;box-shadow:var(--shadow)}
  .how h2{margin:0 0 6px;font-size:13px;letter-spacing:1.4px;text-transform:uppercase;color:var(--muted)}
  .how .why{color:#31465e;font-size:13.5px;margin:0 0 16px;max-width:88ch}
  .steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
  @media(max-width:820px){.steps{grid-template-columns:1fr}}
  .step{position:relative;background:#fbfcfe;border:1px solid var(--line);
        border-radius:12px;padding:14px 16px 15px}
  .step .n{position:absolute;top:-10px;left:14px;width:24px;height:24px;border-radius:50%;
           background:var(--accent);color:#fff;font-size:12px;font-weight:800;
           display:flex;align-items:center;justify-content:center;
           box-shadow:0 2px 6px rgba(15,123,108,.3)}
  .step h3{margin:8px 0 5px;font-size:14px;font-weight:800}
  .step p{margin:0;font-size:12.5px;color:var(--muted);line-height:1.65}
  .models{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}
  .models span{font-size:10.5px;font-weight:700;color:#31465e;background:#fff;
               border:1px solid var(--line);border-radius:6px;padding:2px 7px}
  #authbar{position:absolute;top:20px;right:150px;display:flex;align-items:center;gap:8px}
  #authbar .u{display:flex;align-items:center;gap:7px;background:#fff;border:1px solid var(--line);
              border-radius:9px;padding:4px 10px 4px 5px;box-shadow:var(--shadow);font-size:12.5px;font-weight:700}
  #authbar .u img{width:22px;height:22px;border-radius:50%;display:block}
  #authbar .u a{color:var(--muted);text-decoration:none;font-weight:600;font-size:11px;margin-left:2px}
  .hfbtn{display:inline-flex;align-items:center;gap:7px;background:#111827;color:#fff;
         border:0;border-radius:9px;padding:8px 13px;font:inherit;font-size:12.5px;
         font-weight:700;cursor:pointer;text-decoration:none;box-shadow:var(--shadow)}
  .hfbtn:hover{background:#000}
  .gate{margin-top:14px;background:#fff8ea;border:1px solid #f0dfba;border-radius:10px;
        padding:12px 13px;font-size:12.5px;color:#7a5a12;line-height:1.6}
  .gate .hfbtn{margin-top:9px;width:100%;justify-content:center}

  #ov{position:fixed;z-index:50;display:none;width:340px;background:#fff;
      border:1px solid var(--line);border-radius:14px;padding:15px 16px;
      box-shadow:0 12px 40px rgba(19,26,38,.18)}
  #ov h4{margin:0 0 2px;font-size:14px;font-weight:800;letter-spacing:-.2px}
  #ov .oid{font-size:11px;color:var(--muted);font-family:ui-monospace,monospace;margin-bottom:10px}
  #ov .orow{display:grid;grid-template-columns:60px 1fr 42px;gap:8px;align-items:center;
            padding:5px 0;border-top:1px solid #f0f3f8;font-size:11.5px}
  #ov .orow:first-of-type{border-top:0}
  #ov .oax{color:var(--muted);font-weight:700}
  #ov .obar{height:5px;border-radius:3px;background:var(--bar-bg);overflow:hidden}
  #ov .obar i{display:block;height:100%;background:var(--bar);border-radius:3px}
  #ov .opt{text-align:right;font-weight:800;font-variant-numeric:tabular-nums}
  #ov .why{grid-column:2 / -1;color:var(--muted);font-size:10.5px;margin-top:-2px;line-height:1.5}
  #ov .osum{margin-top:11px;padding-top:10px;border-top:1px solid var(--line);
            font-size:11px;color:#31465e;line-height:1.65}
  #ov .osum b{color:var(--accent)}
  #ov .ofoot{margin-top:9px;font-size:10px;color:var(--muted);line-height:1.5}
  #ov .oflag{margin-top:9px;background:#fdeeec;border-radius:7px;padding:7px 9px;
             font-size:10.5px;color:var(--bad);line-height:1.5}
  tbody tr{cursor:help}
  #tabs{display:flex;gap:6px;margin-top:20px}
  #tabs button{border:1px solid var(--line);background:#fff;color:var(--muted);
    font:inherit;font-size:13.5px;font-weight:700;padding:10px 20px;border-radius:11px;
    cursor:pointer;box-shadow:var(--shadow)}
  #tabs button.on{background:var(--accent);color:#fff;border-color:var(--accent)}
  .panel{display:none} .panel.on{display:block}

  .gsec{margin-top:20px}
  .gsec h3{margin:0 0 4px;font-size:16px;font-weight:800;letter-spacing:-.2px}
  .gsec .lead{color:var(--muted);font-size:13px;margin:0 0 14px;max-width:82ch;line-height:1.7}
  .facts{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
  @media(max-width:820px){.facts{grid-template-columns:1fr}}
  .fact{background:#fbfcfe;border:1px solid var(--line);border-radius:11px;padding:13px 15px}
  .fact b{display:block;font-size:11px;letter-spacing:.8px;text-transform:uppercase;
          color:var(--accent);margin-bottom:5px}
  .fact span{font-size:12.5px;color:#31465e;line-height:1.6}

  .pcard{border:1px solid var(--line);border-radius:12px;margin-bottom:12px;overflow:hidden}
  .phead{display:flex;align-items:center;gap:10px;padding:12px 15px;background:#fbfcfe;
         border-bottom:1px solid var(--line)}
  .ptag{background:var(--accent);color:#fff;font-size:11px;font-weight:800;
        width:24px;height:24px;border-radius:7px;display:flex;align-items:center;
        justify-content:center;flex:none}
  .phead b{font-size:13.5px} .phead span{font-size:11.5px;color:var(--muted)}
  .pcopy{margin-left:auto;background:#111827;color:#fff;border:0;border-radius:8px;
         padding:6px 13px;font:inherit;font-size:11.5px;font-weight:700;cursor:pointer}
  .pcopy:hover{background:#000}
  .pbody{padding:0;margin:0;background:#0f1420;color:#dbe4f0;font-size:11.5px;
         line-height:1.75;white-space:pre-wrap;word-break:break-word;
         font-family:ui-monospace,Menlo,Consolas,monospace;padding:14px 15px;max-height:290px;
         overflow:auto}
  .pbody em{color:#f0b429;font-style:normal;font-weight:700}

  .eng{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:6px}
  @media(max-width:820px){.eng{grid-template-columns:1fr}}
  .ecard{background:#fbfcfe;border:1px solid var(--line);border-radius:12px;padding:15px 16px}
  .ecard h4{margin:0 0 3px;font-size:14.5px;font-weight:800}
  .ecard .role{font-size:11px;letter-spacing:.6px;text-transform:uppercase;
               color:var(--accent);font-weight:700;margin-bottom:8px}
  .ecard p{margin:0;font-size:12.5px;color:var(--muted);line-height:1.7}
  .ecard ul{margin:9px 0 0;padding-left:17px;font-size:12.5px;color:#31465e;line-height:1.75}
  .proof{margin-top:14px;background:var(--accent-soft);border:1px solid #c6e6df;
         border-radius:11px;padding:14px 16px}
  .proof b{color:#0b5c51}
  .proof p{margin:0 0 8px;font-size:12.5px;color:#0b5c51;line-height:1.7}
  .boards{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}
  .boards span{font-size:10.5px;font-weight:700;background:#fff;border:1px solid #c6e6df;
               color:#0b5c51;border-radius:6px;padding:3px 8px;font-family:ui-monospace,monospace}
  .fails{width:100%;border-collapse:collapse;font-size:12.5px;margin-top:4px}
  .fails th{text-align:left;font-size:11px;padding-bottom:8px}
  .fails td{padding:9px 10px 9px 0;border-top:1px solid #f0f3f8;vertical-align:top;text-align:left}
  .fails td:first-child{font-weight:700;white-space:nowrap;color:var(--bad);width:200px}
  .terms{margin-top:20px;display:grid;grid-template-columns:1fr 1fr;gap:20px}
  @media(max-width:900px){.terms{grid-template-columns:1fr}}
  .prize{background:linear-gradient(135deg,#fffdf7 0%,#fdf4e3 100%);border-color:#f0dfba}
  .prize .amt{font-size:34px;font-weight:900;color:var(--anchor);letter-spacing:-1px;margin:4px 0 2px}
  .prize .amt small{font-size:13px;font-weight:700;color:#9a7420;letter-spacing:0}
  .prize p{font-size:13px;color:#6b5a36;margin:0 0 9px;line-height:1.7}
  .prize .tot{font-size:12.5px;font-weight:700;color:#9a7420;margin:0 0 10px}
  .prize .fine{font-size:11.5px;color:#8a7649;border-top:1px solid #f0dfba;padding-top:10px;margin-top:2px}
  .own p{font-size:13px;color:#31465e;margin:0 0 9px;line-height:1.7}
  .own .warn{background:#fdeeec;border:1px solid #f3d3ce;border-radius:9px;
             padding:11px 13px;font-size:12.5px;color:#8e2f27;line-height:1.65;margin-top:4px}
  .own .keep{background:var(--accent-soft);border:1px solid #c6e6df;border-radius:9px;
             padding:11px 13px;font-size:12.5px;color:#0b5c51;line-height:1.65}
  .vis{display:flex;gap:8px;margin-top:6px}
  .vis label{flex:1;margin:0;display:flex;gap:8px;align-items:flex-start;cursor:pointer;
             background:#fbfcfe;border:1px solid var(--line);border-radius:9px;padding:10px 11px;
             font-size:12px;font-weight:600;color:var(--ink);letter-spacing:0;text-transform:none}
  .vis label.on{border-color:var(--accent);background:var(--accent-soft)}
  .vis input{width:auto;margin:2px 0 0}
  .vis span{display:block;font-weight:500;color:var(--muted);font-size:11px;margin-top:2px}
  .chart{margin-top:20px}
  .mrow{display:grid;grid-template-columns:150px 1fr 132px;gap:12px;align-items:center;
        padding:9px 0;border-bottom:1px solid #f0f3f8}
  .mrow:last-child{border-bottom:0}
  .mname{font-size:13px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .mname span{display:block;font-size:10.5px;color:var(--muted);font-weight:600}
  .mtrack{position:relative;height:22px;background:var(--bar-bg);border-radius:6px;overflow:visible}
  .mtrack .best{position:absolute;left:0;top:0;bottom:0;background:linear-gradient(90deg,#0f7b6c,#2aa694);
                border-radius:6px}
  .mtrack .mean{position:absolute;top:-3px;bottom:-3px;width:2px;background:#123;opacity:.55}
  .mmerge{font-size:9.5px;color:var(--accent);vertical-align:super;font-weight:800}
  .mtrack .lab{position:absolute;right:7px;top:0;line-height:22px;font-size:11.5px;
                font-variant-numeric:tabular-nums;
               font-weight:800;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.25)}
  .muse{display:flex;align-items:center;gap:7px;justify-content:flex-end}
  .muse .ub{height:8px;border-radius:4px;background:#9db4d6;min-width:3px}
  .muse .un{font-size:11.5px;color:var(--muted);font-weight:700;white-space:nowrap}
  .legend{display:flex;gap:14px;flex-wrap:wrap;margin-top:12px;font-size:11px;color:var(--muted)}
  .legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:5px;vertical-align:-1px}
  .grid{display:grid;grid-template-columns:1fr 348px;gap:20px;align-items:start;margin-top:20px}
  /* A grid item defaults to min-width:auto, so the 1fr column refused to shrink below
     the table's min-width and pushed the submission card off-screen. */
  .grid > *{min-width:0}
  @media(max-width:960px){.grid{grid-template-columns:1fr}#langbar{position:static;margin-bottom:14px;width:max-content}#langnote{position:static;margin-bottom:8px}}
  .card{background:var(--panel);border:1px solid var(--line);border-radius:16px;
        padding:18px 20px;box-shadow:var(--shadow)}
  .card h2{margin:0 0 4px;font-size:13px;letter-spacing:1.4px;text-transform:uppercase;color:var(--muted)}
  .cnt{float:right;font-size:11.5px;color:var(--muted);letter-spacing:0}

  .scroll{overflow-x:auto;margin-top:12px}
  table{width:100%;border-collapse:collapse;font-size:13.5px;min-width:760px}
  th{color:var(--muted);font-weight:700;font-size:11px;letter-spacing:.5px;
     text-transform:uppercase;padding:0 9px 10px;border-bottom:2px solid var(--line);
     text-align:right;cursor:pointer;user-select:none;white-space:nowrap}
  th:nth-child(-n+3){text-align:left}
  th:hover{color:var(--accent)}
  th .ar{opacity:.32;margin-left:3px;font-size:9px}
  th.sorted{color:var(--accent)} th.sorted .ar{opacity:1}
  td{padding:11px 9px;border-bottom:1px solid #f0f3f8;text-align:right;
     font-variant-numeric:tabular-nums}
  td:nth-child(-n+3){text-align:left}
  tbody tr:hover{background:#fbfcfe}
  tr.anchor{background:var(--anchor-soft)}
  tr.anchor:hover{background:#fbf0dc}
  .sd{color:#8a8f98;font-size:10.5px;margin-left:3px;font-weight:500}
  .tag.w{background:#fff4e5;color:#9a5b00;border:1px solid #f0d9b5}
  tr.tier2{opacity:.62}
  .rk{width:58px;color:var(--muted);font-weight:700;white-space:nowrap}
  .rk.top{color:var(--accent);font-size:15px}
  .tot{font-variant-numeric:tabular-nums}
  .rk .rkscore{display:block;margin-top:2px;font-size:10.5px;font-weight:800;
               font-variant-numeric:tabular-nums;
               color:var(--ink);letter-spacing:0}
  .cid{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:12.5px;font-weight:600}
  .skel{color:#93a1b5;font-size:11px;font-family:ui-monospace,monospace}
  .smiwrap{display:flex;align-items:center;gap:6px;max-width:250px}
  .smi2{color:#1c2a3d;font-size:12px;font-weight:600;
        font-family:ui-monospace,Menlo,Consolas,monospace;
        overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .cp{flex:none;border:1px solid var(--line);background:#fff;border-radius:6px;
      width:22px;height:22px;line-height:1;cursor:pointer;color:var(--muted);
      font-size:11px;padding:0}
  .cp:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}
  .cp.done{border-color:var(--accent);color:#fff;background:var(--accent)}
  .lock{color:#93a1b5;font-size:10.5px;margin-top:1px;display:block}
  #ov .osmi{margin-top:10px;padding:9px 10px;background:#f6f8fc;border:1px solid var(--line);
            border-radius:8px;font-family:ui-monospace,Menlo,monospace;font-size:10.5px;
            color:#31465e;line-height:1.5;word-break:break-all;position:relative}
  #ov .osmi .cp{position:absolute;top:6px;right:6px}
  #ov .osmi .d3{position:absolute;top:6px;right:32px}
  .d3{flex:none;border:1px solid var(--line);background:#fff;border-radius:6px;
      height:22px;padding:0 6px;line-height:1;cursor:pointer;color:var(--muted);
      font-size:10px;font-weight:700;letter-spacing:.02em}
  .d3:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}
  /* the viewer is a modal, not a panel: a molecule you are turning over deserves the
     whole window, and the table underneath would only compete for the drag */
  #m3{position:fixed;inset:0;z-index:120;display:none;background:rgba(16,23,34,.55);
      backdrop-filter:blur(3px)}
  #m3.on{display:flex;align-items:center;justify-content:center}
  #m3 .box{background:#fff;border-radius:16px;width:min(720px,94vw);
           box-shadow:0 24px 70px rgba(12,18,28,.35);overflow:hidden}
  #m3 .hd{display:flex;align-items:center;gap:10px;padding:12px 14px;
          border-bottom:1px solid var(--line)}
  #m3 .hd b{font-size:13px;color:#16223a}
  #m3 .hd .f{font-family:ui-monospace,Menlo,monospace;font-size:11px;color:var(--muted)}
  #m3 .hd .x{margin-left:auto;border:0;background:none;font-size:20px;line-height:1;
             cursor:pointer;color:var(--muted);padding:0 4px}
  #m3 .stage{position:relative;height:min(430px,52vh);background:#0d1420}
  #m3 .stage canvas{display:block}
  #m3 .msg{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
           color:#93a6c0;font-size:12px}
  #m3 .ft{display:flex;align-items:center;gap:8px;padding:10px 14px;flex-wrap:wrap}
  #m3 .ft .sm{font-family:ui-monospace,Menlo,monospace;font-size:10.5px;color:#4a5d78;
              word-break:break-all;flex:1;min-width:0}
  #m3 .ft button{border:1px solid var(--line);background:#fff;border-radius:7px;
                 padding:5px 10px;font-size:11px;cursor:pointer;color:#33465f}
  #m3 .ft button:hover{border-color:var(--accent);color:var(--accent)}
  #m3 .ft button.on{border-color:var(--accent);background:var(--accent);color:#fff}
  .who{color:var(--muted);font-size:12.5px}
  .hf-user{color:var(--accent);font-weight:700;text-decoration:none;white-space:nowrap}
  .hf-user:hover{text-decoration:underline}
  /* Long model identifiers wrapped onto four lines and made every row three times
     taller than it needed to be. Truncate; the full value is on the tooltip. */
  td:nth-child(3), td:nth-child(4){max-width:150px}
  td:nth-child(3) > *, td:nth-child(4) > *{display:block;max-width:150px;
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  td:nth-child(2){max-width:300px}
  .tag{display:inline-block;font-size:9.5px;font-weight:800;letter-spacing:.7px;
       padding:2px 7px;border-radius:5px;margin-left:6px;vertical-align:1px}
  .tag.a{background:#f6e2ba;color:var(--anchor)}
  .tag.r{background:#f7ded9;color:var(--bad)}
  .tot{font-weight:800;font-size:15.5px}
  .barwrap{display:flex;align-items:center;gap:8px;justify-content:flex-end}
  .bar{width:52px;height:6px;border-radius:4px;background:var(--bar-bg);overflow:hidden;flex:none}
  .bar i{display:block;height:100%;background:var(--bar);border-radius:4px}
  tr.anchor .bar i{background:var(--anchor)}

  label{display:block;font-size:11.5px;font-weight:700;color:var(--muted);
        margin:14px 0 5px;letter-spacing:.3px}
  input,textarea{width:100%;background:#fbfcfe;border:1px solid var(--line);border-radius:9px;
                 color:var(--ink);padding:10px 12px;font:inherit;font-size:13.5px}
  input:focus,textarea:focus{outline:0;border-color:var(--accent);background:#fff;
                             box-shadow:0 0 0 3px var(--accent-soft)}
  textarea{resize:vertical;min-height:58px}
  button.go{width:100%;margin-top:18px;background:var(--accent);color:#fff;border:0;
            border-radius:10px;padding:12px;font:inherit;font-weight:800;cursor:pointer;
            box-shadow:0 4px 12px rgba(15,123,108,.24)}
  button.go:hover{background:#0c6558} button.go:disabled{opacity:.5;cursor:default;box-shadow:none}
  .msg{margin-top:13px;font-size:12.5px;padding:11px 13px;border-radius:9px;display:none;line-height:1.55}
  .msg.ok{display:block;background:var(--accent-soft);color:#0b5c51;border:1px solid #c6e6df}
  .msg.err{display:block;background:#fdeeec;color:var(--bad);border:1px solid #f3d3ce}
  .note{color:var(--muted);font-size:11.5px;line-height:1.7;margin-top:16px;
        border-top:1px solid var(--line);padding-top:13px}
  .note b{color:#31465e}
  .xlink{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line);
    background:var(--card);border-radius:9px;padding:6px 12px;font-size:12.5px;
    color:var(--muted);text-decoration:none;margin:8px 0 0}
  .xlink:hover{border-color:var(--accent);color:var(--accent)}
  .xlink b{color:var(--ink);font-weight:600}
  .xlink em{font-style:normal;opacity:.75}
</style>
</head>
<body>
<div id="ov"></div>
<div id="m3"><div class="box">
  <div class="hd"><b id="m3f"></b><span class="f" id="m3w"></span>
    <button class="x" id="m3x" aria-label="close">ร—</button></div>
  <div class="stage"><div id="m3v" style="width:100%;height:100%;position:relative"></div>
    <div class="msg" id="m3m"></div></div>
  <div class="ft"><span class="sm" id="m3s"></span>
    <button id="m3st" class="on" data-s="stick">Stick</button>
    <button id="m3sp" data-s="sphere">Space-fill</button>
    <button id="m3rt" class="on" title="spin">โ†ป</button></div>
</div></div>
<div class="wrap">

  <header>
    <div id="langbar">
      <button data-lang="ko">ํ•œ๊ตญ์–ด</button><button data-lang="en">English</button>
    </div>
    <div id="authbar"></div>
    <div id="langnote"></div>
    <div id="tally"></div>
    <div id="seasonbar"></div>
    <a class="xlink" id="xlink" href="https://huggingface.co/spaces/FINAL-Bench/open-materials-challenge" target="_blank" rel="noopener"></a>
    <a class="xlink" id="xlink2" href="https://huggingface.co/spaces/FINAL-Bench/leadboard" target="_blank" rel="noopener"></a>
    <div id="milestone" class="ms" hidden></div>
    <div id="cd"><span class="cdlab" id="cdlab"></span><span class="cdval" id="cdval">&nbsp;</span></div>
    <p class="eyebrow">Open Discovery Challenge</p>
    <h1 id="seasonhead">#1 &nbsp;<em data-i18n="topic">Malaria</em></h1>
    <p class="concept" id="concept"></p>
    <p class="sub" data-i18n="tagline"></p>
    <div class="wts" id="wts"></div>
  </header>

  <section class="how">
    <h2 data-i18n="how_h">How it works</h2>
    <p class="why" id="why"></p>
    <div class="steps">
      <div class="step"><span class="n">1</span>
        <h3 data-i18n="s1_h"></h3><p data-i18n="s1_p"></p>
        <div class="models">
          <span>OpenAI</span><span>Claude</span><span>Gemini</span>
          <span>Qwen</span><span>KIMI</span><span>DeepSeek</span><span>โ€ฆ</span>
        </div>
      </div>
      <div class="step"><span class="n">2</span>
        <h3 data-i18n="s2_h"></h3><p data-i18n="s2_p"></p></div>
      <div class="step"><span class="n">3</span>
        <h3 data-i18n="s3_h"></h3><p data-i18n="s3_p"></p></div>
    </div>
  </section>

  <div id="tabs">
    <button data-panel="board" class="on" data-i18n="tab_board">Leaderboard</button>
    <button data-panel="models" data-i18n="tab_models">Model standings</button>
    <button data-panel="guide" data-i18n="tab_guide">Entrant guide</button>
  </div>

  <div class="panel on" id="p-board">
  <section class="terms">
    <div class="card prize">
      <h2 data-i18n="prize_h">Prize</h2>
      <div class="amt" id="prize_amt">$1,000 <small data-i18n="prize_unit">USD</small></div>
      <div class="tot" id="prize_total"></div>
      <p id="prize_body"></p>
      <div class="fine" id="prize_fine"></div>
    </div>
    <div class="card own">
      <h2 data-i18n="own_h">Your molecule stays yours</h2>
      <div class="keep" id="own_keep"></div>
      <p id="own_body" style="margin-top:10px"></p>
      <div class="warn" id="own_warn"></div>
    </div>
  </section>

  

  <div class="grid">
    <div class="card">
      <h2><span data-i18n="board">Leaderboard</span><span class="cnt" id="counts"></span></h2>
      <div class="scroll">
        <table>
          <thead><tr id="head"></tr></thead>
          <tbody id="rows"></tbody>
        </table>
      </div>
      <div class="pager" id="pager"></div>
      <div class="note" id="boardnote"></div>
    </div>

    <div class="card">
      <h2 data-i18n="submit">Submit</h2>
      <label data-i18n="l_struct"></label>
      <input id="structure" placeholder="CC1=NC2=NC(=NN2C(=C1)N...">
      <label data-i18n="l_name"></label>
      <input id="display_name">
      <label data-i18n="l_model"></label>
      <input id="model_name" placeholder="anthropic/claude-โ€ฆ, Qwen/โ€ฆ">
      <label data-i18n="l_why"></label>
      <textarea id="rationale"></textarea>
      <label data-i18n="l_vis"></label>
      <div class="vis">
        <label class="on" id="vis_priv"><input type="radio" name="vis" value="private" checked>
          <b data-i18n="vis_priv"></b></label>
        <label id="vis_pub"><input type="radio" name="vis" value="public">
          <b data-i18n="vis_pub"></b></label>
      </div>
      <button class="go" id="go" data-i18n="btn"></button>
      <div class="gate" id="gate" style="display:none"></div>
      <div class="msg" id="msg"></div>
      <div class="note" id="formnote"></div>
    </div>
  </div>
  </div>

  <div class="panel" id="p-models">
  <section class="card chart">
    <h2><span data-i18n="chart_h">Model standings</span><span class="cnt" id="mcounts"></span></h2>
    <p class="who" id="chart_sub" style="margin:2px 0 10px"></p>
    <div id="models"></div>
    <div class="legend" id="legend"></div>
  </section>
  </div>

  <div class="panel" id="p-guide">
    <!-- ์‹œ์ฆŒ ์†Œ๊ฐœ ์˜์ƒ. ์ฒซ ํ™”๋ฉด(์ˆœ์œ„ํ‘œ)์ด ์•„๋‹ˆ๋ผ ๊ฐ€์ด๋“œ ํƒญ์— ๋‘”๋‹ค - ๋ณด๋Ÿฌ ์˜จ
         ์‚ฌ๋žŒ์€ ์ˆœ์œ„๋ฅผ ๋ณด๋Ÿฌ ์˜ค์ง€ ์˜์ƒ์„ ๋ณด๋Ÿฌ ์˜ค์ง€ ์•Š๋Š”๋‹ค. ๊ฐ€์ด๋“œ๋ฅผ ํŽผ์นœ ์‚ฌ๋žŒ์—๊ฒŒ๋Š”
         ๋งฅ๋ฝ์ด ๋˜๋ฏ€๋กœ ๊ฑฐ๊ธฐ์„œ ๊ฐ’์„ ํ•œ๋‹ค. -->
    <div id="intro"></div>
    <section class="card gsec">
      <h3 data-i18n="g1_h"></h3>
      <p class="lead" id="g1_lead"></p>
      <div class="facts">
        <div class="fact"><b data-i18n="g1_a_t"></b><span data-i18n="g1_a"></span></div>
        <div class="fact"><b data-i18n="g1_b_t"></b><span data-i18n="g1_b"></span></div>
        <div class="fact"><b data-i18n="g1_c_t"></b><span data-i18n="g1_c"></span></div>
      </div>
    </section>

    <section class="card gsec">
      <h3 data-i18n="g2_h"></h3>
      <p class="lead" id="g2_lead"></p>
      <div id="prompts"></div>
    </section>

    <section class="card gsec">
      <h3 data-i18n="ge_h"></h3>
      <p class="lead" id="ge_lead"></p>
      <div class="eng">
        <div class="ecard">
          <div class="role" data-i18n="ge_p_role"></div>
          <h4>PharmaOS</h4>
          <p data-i18n="ge_p_body"></p>
          <ul id="ge_p_list"></ul>
        </div>
        <div class="ecard">
          <div class="role" data-i18n="ge_c_role"></div>
          <h4>CellOS</h4>
          <p data-i18n="ge_c_body"></p>
          <ul id="ge_c_list"></ul>
        </div>
      </div>
      <div class="proof">
        <p id="ge_proof"></p>
        <div class="boards" id="ge_boards"></div>
        <p id="ge_caveat" style="margin-top:10px;font-size:11.5px;opacity:.85"></p>
      </div>
    </section>

    <section class="card gsec">
      <h3 data-i18n="g3_h"></h3>
      <p class="lead" id="g3_lead"></p>
      <table class="fails"><tbody id="fails"></tbody></table>
    </section>

    <section class="card gsec">
      <h3 data-i18n="g4_h"></h3>
      <p class="lead" id="g4_lead"></p>
    </section>
  </div>
</div>

<script>
const T = {
  ko:{
    xlink:`๐Ÿ”‹ <b>Open Materials Challenge</b> <em>โ€” ์ „๊ณ ์ฒด ๋ฐฐํ„ฐ๋ฆฌ ์‹ ์†Œ์žฌ๋ฅผ ์ฐพ๋Š” ์ž๋งค ๋Œ€ํšŒ</em> โ†—`,
    xlink2:`๐ŸŽฏ <b>LEADBOARD</b> <em>โ€” ์‹ ์•ฝ ์˜ˆ์ธก ๋„๊ตฌ๋ฅผ ๋ถ„์•ผ๋ณ„๋กœ ์žฌ๋Š” ์‹œํ—˜๋Œ€</em> โ†—`,
    topic:"๋ง๋ผ๋ฆฌ์•„", board:"์ˆœ์œ„ํ‘œ", submit:"์ œ์ถœ", btn:"์ œ์ถœํ•˜๊ธฐ",
    concept:"<b>AI๊ฐ€ ๋ฐœ๊ฒฌํ•œ ๋ง๋ผ๋ฆฌ์•„ ์‹ ์•ฝ ํ›„๋ณด ๋ฌผ์งˆ</b>์˜ ๊ฒ€์ฆ ๋ฐ ํ‰๊ฐ€",
    tagline:"์–ด๋–ค AI๋กœ ์ฐพ์•„๋‚ธ ํ›„๋ณด๋“ , ๊ฐ™์€ ๊ธฐ์ค€์œผ๋กœ ๊ณ„์‚ฐ ๊ฒ€์ฆํ•˜๊ณ  ์ ์ˆ˜๋ฅผ ๋งค๊น๋‹ˆ๋‹ค. ํ‘œ์ ์€ ๋ง๋ผ๋ฆฌ์•„ ์›์ถฉ์ด ์˜์กดํ•˜๋Š” ํšจ์†Œ PfDHODH์ด๋ฉฐ, ์‚ฌ๋žŒ์˜ ๊ฐ™์€ ํšจ์†Œ(DHODH)๋Š” ๊ฑด๋“œ๋ฆฌ์ง€ ์•Š์•„์•ผ ํ•ฉ๋‹ˆ๋‹ค.",
    how_h:"์ฐธ์—ฌ ๋ฐฉ๋ฒ•",
    why:"<b>๋งค๋…„ ์•ฝ 59๋งŒ 7์ฒœ ๋ช…์ด ๋ง๋ผ๋ฆฌ์•„๋กœ ์ฃฝ์Šต๋‹ˆ๋‹ค. ๊ทธ์ค‘ 4๋ถ„์˜ 3์ด ๋‹ค์„ฏ ์‚ด์ด ๋˜๊ธฐ ์ „์˜ ์•„์ด๋“ค์ž…๋‹ˆ๋‹ค</b>(WHO ์„ธ๊ณ„ ๋ง๋ผ๋ฆฌ์•„ ๋ณด๊ณ ์„œ 2024, 2023๋…„ ์ถ”์ •). ์•ฝ์ด ์—†์–ด์„œ๊ฐ€ ์•„๋‹™๋‹ˆ๋‹ค. ํ™˜์ž๊ฐ€ ๊ฐ€๋‚œํ•ด์„œ ์•ฝ์„ ๋งŒ๋“ค ์ด์œ ๊ฐ€ ์‹œ์žฅ์— ์—†๊ธฐ ๋•Œ๋ฌธ์ž…๋‹ˆ๋‹ค. ๋ฐ”๋กœ ๊ทธ๋ž˜์„œ, ์ด์ต์ด ์•„๋‹ˆ๋ผ ๋œป์œผ๋กœ ์›€์ง์ด๋Š” ์‚ฌ๋žŒ๋“ค์ด ์‹ค์ œ๋กœ ์ฐจ์ด๋ฅผ ๋งŒ๋“ค ์ˆ˜ ์žˆ๋Š” ์ž๋ฆฌ์ž…๋‹ˆ๋‹ค.<br><br>AI๋Š” ์ด๋ฏธ ์‹ ์•ฝ ํ›„๋ณด๋ฅผ ์Ÿ์•„๋‚ด๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ๋ง‰ํžŒ ๊ณณ์€ ๋ฐœ๊ฒฌ์ด ์•„๋‹ˆ๋ผ <b>๊ทธ ํ›„๋ณด๊ฐ€ ์ •๋ง ์“ธ ๋งŒํ•œ์ง€ ๊ฐ€๋ ค๋‚ผ ๊ฒ€์ฆ ์ˆ˜๋‹จ</b>์ž…๋‹ˆ๋‹ค. ๋ชจ๋ธ์€ ๊ทธ๋Ÿด๋“ฏํ•œ ๋ถ„์ž๋ฅผ ์–ผ๋งˆ๋“ ์ง€ ๊ทธ๋ ค๋‚ด์ง€๋งŒ, ๊ทธ๊ฒƒ์ด ๊ธฐ์ƒ์ถฉ์„ ์ฃฝ์ด๋Š”์ง€ยท์‚ฌ๋žŒ์—๊ฒŒ ํ•ด๋กœ์šด์ง€ยท๋งŒ๋“ค ์ˆ˜๋Š” ์žˆ๋Š”์ง€๋Š” ๋‹ตํ•˜์ง€ ๋ชปํ•ฉ๋‹ˆ๋‹ค. ์ด ์ฑŒ๋ฆฐ์ง€๋Š” ๊ทธ ๊ฒ€์ฆ๊ธฐ๋ฅผ ๊ณต๊ฐœํ•ฉ๋‹ˆ๋‹ค โ€” <b>AI๊ฐ€ ๋ฐœ๊ฒฌํ•œ ํ›„๋ณด๋ฅผ ๋ฐ›์•„, ๊ฐ™์€ ์žฃ๋Œ€๋กœ ๊ณ„์‚ฐ ๊ฒ€์ฆํ•˜๊ณ  ์ˆœ์œ„๋ฅผ ๋งค๊น๋‹ˆ๋‹ค.</b>",
    s1_h:"1. ์›ํ•˜๋Š” AI๋กœ ํ›„๋ณด๋ฅผ ์„ค๊ณ„ํ•ฉ๋‹ˆ๋‹ค",
    s1_p:"OpenAI ยท Claude ยท Gemini ยท Qwen ยท KIMI ยท DeepSeek ๋“ฑ ์–ด๋–ค ๋ชจ๋ธ์ด๋“ , ์–ด๋–ค ํ•˜๋„ค์Šค๋“  ์ž์œ ์ž…๋‹ˆ๋‹ค. ์ง์ ‘ ์„ค๊ณ„ํ•ด๋„ ๋ฉ๋‹ˆ๋‹ค. ๋ง๋ผ๋ฆฌ์•„ ์›์ถฉ ํšจ์†Œ PfDHODH๋ฅผ ๋ง‰์„ ์ €๋ถ„์ž๋ฅผ ์ฐพ์œผ์„ธ์š”.",
    s2_h:"2. ๋ถ„์ž ๊ตฌ์กฐ์‹์„ ์ œ์ถœํ•ฉ๋‹ˆ๋‹ค",
    s2_p:"SMILES ๋˜๋Š” InChI๋กœ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค. ์ œ์ถœ ์ฆ‰์‹œ ๊ตฌ์กฐ ๊ฒ€์‚ฌ(๋ฐ˜์‘์„ฑยทPAINSยท์ค‘๋ณต ๋“ฑ)๋ฅผ ๊ฑฐ์นฉ๋‹ˆ๋‹ค. ๋ถ„์ž์‹์€ ์ด์„ฑ์งˆ์ฒด๊ฐ€ ๋„ˆ๋ฌด ๋งŽ์•„ ๋ฐ›์ง€ ์•Š์Šต๋‹ˆ๋‹ค.",
    s3_h:"3. ์ž๋™ ์ฑ„์  ํ›„ ์ˆœ์œ„๊ฐ€ ๋งค๊ฒจ์ง‘๋‹ˆ๋‹ค",
    s3_p:"๋น„๋“œ๋ž˜ํ”„ํŠธ PharmaOS์™€ CellOS๊ฐ€ ์•ฝํšจยทํ‘œ์  ๊ฒฐํ•ฉยท์„ ํƒ์„ฑยท๋…์„ฑยท์‹ ๊ทœ์„ฑยทํ•ฉ์„ฑ ๋‚œ์ด๋„๋ฅผ ๊ณ„์‚ฐํ•ด 100์  ๋งŒ์ ์œผ๋กœ ์ฑ„์ ํ•˜๊ณ , ๊ณ ๋“์  ์ˆœ์œผ๋กœ ์ค„์„ ์„ธ์›๋‹ˆ๋‹ค. ๊ธฐ์ค€๋ฌผ์งˆ์ด ํ•จ๊ป˜ ํ‘œ์‹œ๋˜์–ด ์ž๊ธฐ ์ ์ˆ˜์˜ ์˜๋ฏธ๋ฅผ ๋ฐ”๋กœ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.",
    ov_axes:{activity:"์•ฝํšจ",binding:"๊ฒฐํ•ฉ",selectivity:"์„ ํƒ์„ฑ",admet:"ADMET",novelty:"์‹ ๊ทœ์„ฑ",synthesis:"ํ•ฉ์„ฑ"},
    ov_why:{
      activity:d=>`์ „์„ธํฌ ์˜ˆ์ธก pAct(ํ•˜ํ•œ) ${d.pAct_q10 ?? "โ€“"}`,
      binding:d=>`pIC50 ${d.pIC50 ?? "โ€“"} ยท ๋ฆฌ๊ฐ„๋“œํšจ์œจ ${d.LE ?? "โ€“"}`,
      selectivity:d=>`์‚ฌ๋žŒ ๋Œ€๋น„ ${d.fold ?? "โ€“"}๋ฐฐ ยท ํ‘œ์ ๊ฒฐํ•ฉ ${d.target_engagement ?? "โ€“"}`,
      admet:d=>`๋ฐ”๋žŒ์ง์„ฑ ๊ธฐํ•˜ํ‰๊ท  ${d.geometric_mean ?? "โ€“"}`,
      novelty:d=>`๊ธฐ์กด ๋ฌผ์งˆ๊ณผ ์ตœ๋Œ€ ์œ ์‚ฌ๋„ ${d.max_tanimoto ?? "โ€“"}`,
      synthesis:d=>`ํ•ฉ์„ฑ๋‚œ์ด๋„ SA ${d.sa_score ?? "โ€“"} (1 ์‰ฌ์›€ ~ 10 ์–ด๋ ค์›€)`,
    },
    ov_pred:"์˜ˆ์ธก์น˜", ov_pf:"๋ง๋ผ๋ฆฌ์•„ ํšจ์†Œ", ov_hs:"์‚ฌ๋žŒ ํšจ์†Œ", ov_sel:"์„ ํƒ๋„",
    private_note:"์ œ์ถœ์ž๊ฐ€ ๋น„๊ณต๊ฐœ๋ฅผ ์„ ํƒํ–ˆ์Šต๋‹ˆ๋‹ค", copy_smiles:"๋ถ„์ž์‹ ๋ณต์‚ฌ",
    intro_credit:"์˜์ƒ ์ œ์ž‘ํ•ด์ฃผ์‹  ์นด์นด์˜คํ†ก @๋ฆฌ์นด ๋‹˜์—๊ฒŒ ๊ฐ์‚ฌ๋“œ๋ฆฝ๋‹ˆ๋‹ค.",
    tally_label:"๋ˆ„์  ์ œ์ถœ", daily_cap:"๊ณ„์ •๋‹น ํ•˜๋ฃจ 30๊ฑด๊นŒ์ง€ ์ œ์ถœํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค (ํ•œ๊ตญ์‹œ๊ฐ„ ์ž์ • ์ดˆ๊ธฐํ™”).",
    season_soon:"์ค€๋น„์ค‘", season_notopen:"์ด ์‹œ์ฆŒ์€ ์•„์ง ์ ‘์ˆ˜๋ฅผ ๋ฐ›์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์ฑ„์ ๊ธฐ ๊ฒ€์ฆ์ด ๋๋‚˜๋ฉด ๊ณต์ง€์™€ ํ•จ๊ป˜ ์—ฝ๋‹ˆ๋‹ค.",
    cd_label:"์‹œ์ฆŒ #1 ๋งˆ๊ฐ๊นŒ์ง€", cd_day:"์ผ", cd_over_label:"์‹œ์ฆŒ #1 ๋งˆ๊ฐ",
    cd_over:"๋งˆ๊ฐ๋˜์—ˆ์Šต๋‹ˆ๋‹ค", view_3d:"3D ์ž…์ฒด ๊ตฌ์กฐ๋กœ ๋ณด๊ธฐ",
    v3_loading:"์ž…์ฒด ๊ตฌ์กฐ ์ƒ์„ฑ ์ค‘\u2026", v3_atoms:"์›์ž",
    v3_failed:"์ž…์ฒด ๊ตฌ์กฐ๋ฅผ ๋งŒ๋“ค์ง€ ๋ชปํ–ˆ์Šต๋‹ˆ๋‹ค",
    private_full:"์ œ์ถœ์ž๊ฐ€ ๋น„๊ณต๊ฐœ๋ฅผ ์„ ํƒํ–ˆ์Šต๋‹ˆ๋‹ค. ํ›„๋ณด ID์™€ ๊ณจ๊ฒฉ ํ•ด์‹œ๋กœ๋งŒ ์‹๋ณ„๋ฉ๋‹ˆ๋‹ค.",
    reasons:{
      parse:      r=>"๊ตฌ์กฐ๋ฅผ ํ•ด์„ํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค (SMILES ๋˜๋Š” InChI๋กœ ์ œ์ถœํ•˜์„ธ์š”)",
      covalent:   r=>`๊ณต์œ ๊ฒฐํ•ฉ warhead ๊ฒ€์ถœ (${r.arg}) โ€” Season 1์€ ๋น„๊ณต์œ  ํŠธ๋ž™์ž…๋‹ˆ๋‹ค`,
      mw:         r=>`๋ถ„์ž๋Ÿ‰ ${r.arg} > ${r.limit}`,
      heavy:      r=>`๋ฌด๊ฑฐ์šด ์›์ž ${r.arg} > ${r.limit}`,
      pains:      r=>`PAINS ๊ตฌ์กฐ (${r.arg})`,
      duplicate:  r=>"์ด๋ฏธ ์ œ์ถœ๋œ ๊ตฌ์กฐ์ž…๋‹ˆ๋‹ค",
      ames:       r=>`๋ณ€์ด์›์„ฑ(Ames) ${r.arg} > ${r.limit}`,
      solubility: r=>`๊ทน๋‹จ์  ๋ถˆ์šฉ์„ฑ (logS ${r.arg} < ${r.limit})`,
    },
    ov_none:"์ฑ„์  ๊ทผ๊ฑฐ๊ฐ€ ๊ธฐ๋ก๋˜์ง€ ์•Š์•˜์Šต๋‹ˆ๋‹ค.",
    ov_foot:"๋ชจ๋‘ ๊ณ„์‚ฐ ์˜ˆ์ธก๊ฐ’์ž…๋‹ˆ๋‹ค. ์‹ค์ธก์ด ์•„๋‹ˆ๋ฉฐ ์‹ค์ œ ํšจ๋Šฅยท์•ˆ์ „์„ฑ์„ ๋œปํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.",
    tab_board:"์ˆœ์œ„ํ‘œ",tab_models:"๋ชจ๋ธ ์„ฑ๊ณผ", tab_guide:"์ฐธ์—ฌ ๊ฐ€์ด๋“œ",
    ge_h:"๋ฌด์—‡์ด ์ฑ„์ ํ•˜๋Š”๊ฐ€",
    ge_lead:"์ œ์ถœ๋œ ๋ถ„์ž๋Š” VIDRAFT์˜ ๋‘ ์‹œ์Šคํ…œ์ด ํ•จ๊ป˜ ํ‰๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. ํ•˜๋‚˜๋Š” ๋ถ„์ž๊ฐ€ ํ‘œ์ ์— ์–ด๋–ป๊ฒŒ ์ž‘์šฉํ•˜๋Š”์ง€๋ฅผ ๋ณด๊ณ , ๋‹ค๋ฅธ ํ•˜๋‚˜๋Š” ๊ทธ๊ฒƒ์ด ์‚ด์•„ ์žˆ๋Š” ์„ธํฌ์™€ ๋ชธ์—์„œ ๋ฌด์—‡์„ ๋œปํ•˜๋Š”์ง€๋ฅผ ๋ด…๋‹ˆ๋‹ค.",
    ge_p_role:"๋ถ„์ž ยท ํ‘œ์ ", ge_c_role:"์„ธํฌ ยท ๊ฐœ์ฒด",
    ge_p_body:"๋ถ„์ž๊ฐ€ ํ‘œ์  ๋‹จ๋ฐฑ์งˆ์— ์‹ค์ œ๋กœ ๊ฒฐํ•ฉํ•˜๋Š”์ง€, ์–ผ๋งˆ๋‚˜ ์„ธ๊ฒŒ ๋ถ™๋Š”์ง€, ๊ทธ๋ฆฌ๊ณ  ๊ทธ ๊ฒฐํ•ฉ์ด ํฌ๊ธฐ๋กœ ์‚ฐ ๊ฒƒ์ธ์ง€ ์„ค๊ณ„๋กœ ์–ป์€ ๊ฒƒ์ธ์ง€๋ฅผ ํŒ์ •ํ•ฉ๋‹ˆ๋‹ค.",
    ge_p_list:["๋ง๋ผ๋ฆฌ์•„ ํšจ์†Œ์™€ ์‚ฌ๋žŒ ํšจ์†Œ์— ๊ฐ๊ฐ ๋„ํ‚นํ•ด ๊ฒฐํ•ฉ ์˜ˆ์ธก","๋ถ„์ž ํฌ๊ธฐ ๋Œ€๋น„ ๊ฒฐํ•ฉ ํšจ์œจ โ€” ๋ฌด๊ฒ๊ฒŒ ๋งŒ๋“ค์–ด ์ ์ˆ˜๋ฅผ ์‚ฌ๋Š” ๊ฒƒ์„ ์ฐจ๋‹จ","๊ธฐ์กด ํ•ญ๋ง๋ผ๋ฆฌ์•„ ํ™”ํ•™๊ณต๊ฐ„๊ณผ์˜ ๊ตฌ์กฐ์  ๊ฑฐ๋ฆฌ","ํ•ฉ์„ฑ ์ ‘๊ทผ์„ฑ"],
    ge_c_body:"๊ฒฐํ•ฉ๋งŒ์œผ๋กœ๋Š” ์•ฝ์ด ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ๊ธฐ์ƒ์ถฉ์ด ์‹ค์ œ๋กœ ์ฃฝ๋Š”์ง€, ์‚ฌ๋žŒ์—๊ฒŒ ํ•ด๋กญ์ง€ ์•Š์€์ง€, ๋ชธ ์•ˆ์—์„œ ๊ฒฌ๋””๋Š”์ง€๋ฅผ ๋ด…๋‹ˆ๋‹ค.",
    ge_c_list:["์ „์„ธํฌ ํ•ญ๋ง๋ผ๋ฆฌ์•„ ํ™œ์„ฑ โ€” ๊ธฐ์ƒ์ถฉ์ด ์ฃฝ๋Š”๊ฐ€","ํก์ˆ˜ยท๋ถ„ํฌยท๋Œ€์‚ฌยท๋ฐฐ์„ค๊ณผ ๋…์„ฑ ํ”„๋กœํŒŒ์ผ","์‚ฌ๋žŒ ํšจ์†Œ ํšŒํ”ผ โ€” ๋ฉด์—ญ์–ต์ œ ๋ถ€์ž‘์šฉ ์ฐจ๋‹จ","๋ถˆํ™•์‹คํ•œ ์˜ˆ์ธก์€ ๋‚ฎ๊ฒŒ ์ฑ„์  โ€” ํ™•์‹ ํ•  ์ˆ˜ ์žˆ๋Š” ํ›„๋ณด๊ฐ€ ์šฐ๋Œ€๋จ"],
    ge_proof:"<b>์ด ์ฑ„์ ์„ ์™œ ๋ฏฟ์„ ์ˆ˜ ์žˆ๋Š”๊ฐ€.</b> ์šฐ๋ฆฌ ์˜ˆ์ธก ๋ชจ๋ธ์€ ๊ณต๊ฐœ ๋ฒค์น˜๋งˆํฌ <b>Polaris Hub์˜ 16๊ฐœ ๋ถ€๋ฌธ์—์„œ 1์œ„</b>๋กœ ๊ธฐ๋ก๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค. ํก์ˆ˜ยท๋ถ„ํฌยท๋Œ€์‚ฌยท๋…์„ฑยทํšจ๋Šฅยท์ธ์‚ฐํ™”ํšจ์†Œ ์„ ํƒ์„ฑ ์ „ ์˜์—ญ์— ๊ฑธ์ณ ์žˆ์œผ๋ฉฐ, ๊ฐ€์žฅ ์ตœ๊ทผ์€ <b>MDR1-MDCK ์œ ์ถœ๋น„</b>(2026-08-11, ์ƒ๊ด€๊ณ„์ˆ˜ 0.802 ยท 2์œ„ 0.725)์ž…๋‹ˆ๋‹ค. ์•„๋ž˜๊ฐ€ ๊ทธ 16๊ฐœ ๋ถ€๋ฌธ์ด๋ฉฐ, Polaris์—์„œ ์“ฐ๋Š” ์ด๋ฆ„ ๊ทธ๋Œ€๋กœ ์ ์—ˆ์œผ๋‹ˆ ์ง์ ‘ ๋Œ€์กฐํ•˜์‹ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.",
    ge_caveat:"โš ๏ธ 16๊ฐœ ๋ถ€๋ฌธ์ด ๋ชจ๋‘ Polaris์— ์‹ค์žฌํ•˜๋Š” ๋ฒค์น˜๋งˆํฌ์ž„์€ ํ™•์ธํ–ˆ์Šต๋‹ˆ๋‹ค. ๋‹ค๋งŒ Polaris Hub๋Š” ์ˆœ์œ„(placement)๋ฅผ ๊ณต๊ฐœ API๋กœ ์ œ๊ณตํ•˜์ง€ ์•Š์•„ ๋“ฑ์ˆ˜ ์ž์ฒด๋Š” ์™ธ๋ถ€์—์„œ ์ž๋™ ๊ฒ€์ฆํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.<br>๊ทธ๋ฆฌ๊ณ  ์ด ๋Œ€ํšŒ์˜ ์ฑ„์ ์ด ์ •์งํ•œ์ง€๋Š” ๋” ๊ฐ„๋‹จํžˆ ํ™•์ธํ•˜์‹ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค โ€” <b>์Šน์ธ๋œ ์•ฝ๊ณผ ํšจ๊ณผ ์—†๋Š” ๋ฌผ์งˆ์„ ์ˆœ์œ„ํ‘œ์— ํ•จ๊ป˜ ์˜ฌ๋ ค๋‘์—ˆ์Šต๋‹ˆ๋‹ค.</b> ์ž„์ƒ ํ›„๋ณด๊ฐ€ ์ƒ๋‹จ์—, ์นดํŽ˜์ธ๊ณผ ์ด๋ถ€ํ”„๋กœํŽœ์ด ๋ฐ”๋‹ฅ์— ์žˆ๋Š”์ง€ ๋ณด์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค.",
    g1_h:"๋ฌด์—‡์„ ๋งŒ๋“ค์–ด์•ผ ํ•˜๋‚˜",
    g1_lead:"๋ง๋ผ๋ฆฌ์•„ ์›์ถฉ์€ ์‚ด์•„๋‚จ๊ธฐ ์œ„ํ•ด <b>PfDHODH</b>๋ผ๋Š” ํšจ์†Œ์— ์˜์กดํ•ฉ๋‹ˆ๋‹ค. ์ด ํšจ์†Œ๋ฅผ ๋ง‰์œผ๋ฉด ์›์ถฉ์ด ์ฃฝ์Šต๋‹ˆ๋‹ค. ๋ฌธ์ œ๋Š” ์‚ฌ๋žŒ์—๊ฒŒ๋„ ๊ฐ™์€ ๊ณ„์—ด์˜ ํšจ์†Œ๊ฐ€ ์žˆ๋‹ค๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค.",
    g1_a_t:"๋ง‰์•„์•ผ ํ•  ๊ฒƒ", g1_a:"PfDHODH โ€” ๋ง๋ผ๋ฆฌ์•„ ์›์ถฉ์˜ ํšจ์†Œ. ์›์ถฉ์ด ์ƒ์กด์— ์˜์กดํ•ฉ๋‹ˆ๋‹ค.",
    g1_b_t:"๊ฑด๋“œ๋ฆฌ๋ฉด ์•ˆ ๋˜๋Š” ๊ฒƒ", g1_b:"์‚ฌ๋žŒ DHODH โ€” ๊ฐ™์€ ๊ณ„์—ด. ๋ง‰์œผ๋ฉด ์น˜๋ฃŒ๊ฐ€ ์•„๋‹ˆ๋ผ ๋ฉด์—ญ์–ต์ œ ๋ถ€์ž‘์šฉ์ด ๋ฉ๋‹ˆ๋‹ค.",
    g1_c_t:"๋„˜์–ด์•ผ ํ•  ๊ด€๋ฌธ", g1_c:"์›์ถฉ์€ ์ ํ˜ˆ๊ตฌ ์•ˆ์— ์‚ฝ๋‹ˆ๋‹ค. ์ ํ˜ˆ๊ตฌ๋ง‰๊ณผ ์›์ถฉ๋ง‰, ๋‘ ๊ฒน์„ ํ†ต๊ณผํ•ด์•ผ ํ‘œ์ ์— ๋‹ฟ์Šต๋‹ˆ๋‹ค.",
    g2_h:"AI์—๊ฒŒ ๊ทธ๋Œ€๋กœ ๋ถ™์—ฌ ๋„ฃ์„ ํ”„๋กฌํ”„ํŠธ",
    g2_lead:"์ „๋žต์ด ๋‹ค๋ฅธ ๋‹ค์„ฏ ๊ฐ€์ง€์ž…๋‹ˆ๋‹ค. <b>์–ด๋–ค ๋ชจ๋ธ์ด๋“  ์ƒ๊ด€์—†์Šต๋‹ˆ๋‹ค</b> โ€” OpenAI, Claude, Gemini, Qwen, KIMI, DeepSeek, ์˜คํ”ˆ์†Œ์Šค ๋ฌด์—‡์ด๋“ . ๋ณต์‚ฌ ๋ฒ„ํŠผ์„ ๋ˆ„๋ฅด๊ณ  ์“ฐ์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค.<br><b>๋…ธ๋ž€ ๊ธ€์”จ ๋ถ€๋ถ„์€ ๋ฐ˜๋“œ์‹œ ์ž๊ธฐ ๊ฒƒ์œผ๋กœ ๋ฐ”๊พธ์‹ญ์‹œ์˜ค.</b> ๊ทธ๋Œ€๋กœ ์“ฐ๋ฉด ๋‹ค๋ฅธ ์ฐธ๊ฐ€์ž์™€ ๊ฐ™์€ ๋ถ„์ž๊ฐ€ ๋‚˜์˜ค๊ณ , ๋จผ์ € ๋‚ธ ์ชฝ๋งŒ ๋“ฑ๋ก๋˜๋ฉฐ ๋‚˜๋จธ์ง€๋Š” ์ค‘๋ณต์œผ๋กœ ๋ฐ˜๋ ค๋ฉ๋‹ˆ๋‹ค.",
    g3_h:"์ž์ฃผ ๊ฒช๋Š” ๋ฐ˜๋ ค ์‚ฌ์œ ",
    g3_lead:"์ œ์ถœ ์ฆ‰์‹œ ๊ตฌ์กฐ ๊ฒ€์‚ฌ๋ฅผ ํ•˜๋ฏ€๋กœ, ์•„๋ž˜์— ๊ฑธ๋ฆฌ๋ฉด ์ˆœ์œ„ํ‘œ์— ์˜ค๋ฅด์ง€ ๋ชปํ•˜๊ณ  ๋ฐ”๋กœ ๋˜๋Œ์•„์˜ต๋‹ˆ๋‹ค.",
    fails:[
      ["๊ธฐ์ง€ ๋ฌผ์งˆ์˜ ์œ ์‚ฌ์ฒด","์‹ ๊ทœ์„ฑ ์ ์ˆ˜๊ฐ€ 0์— ๊ฐ€๊น์Šต๋‹ˆ๋‹ค. ๊ธฐ์ค€๋ฌผ์งˆ ์ž์ฒด๊ฐ€ ์‹ ๊ทœ์„ฑ 0์ ์ด๋ผ, ๊ทธ ์œ ์‚ฌ์ฒด๋„ ๊ฐ™์€ 0์„ ๋ฌผ๋ ค๋ฐ›์Šต๋‹ˆ๋‹ค. ์‹ค์ธก์œผ๋กœ ์œ ์‚ฌ์ฒด ํ•˜๋‚˜๊ฐ€ 10์  ๋งŒ์ ์— 0.96์„ ๋ฐ›์•˜์Šต๋‹ˆ๋‹ค."],
      ["PAINS ๊ตฌ์กฐ","์—ฌ๋Ÿฌ ํ‘œ์ ์— ๋ฌด์ฐจ๋ณ„๋กœ ๊ฑธ๋ฆฌ๋Š” ๊ตฌ์กฐ์ž…๋‹ˆ๋‹ค. ์ž๋™ ๋ฐ˜๋ ค๋ฉ๋‹ˆ๋‹ค."],
      ["๋ถ„์ž๋Ÿ‰ {MW} ์ดˆ๊ณผ","์ž๋™ ๋ฐ˜๋ ค๋ฉ๋‹ˆ๋‹ค. ๋ฌด๊ฑฐ์šด ๋ถ„์ž๋กœ ๊ฒฐํ•ฉ ์ ์ˆ˜๋ฅผ ์˜ฌ๋ฆฌ๋Š” ๊ฒƒ์„ ๋ง‰๊ธฐ ์œ„ํ•œ ์ƒํ•œ์ž…๋‹ˆ๋‹ค."],
      ["๋ถ„์ž์‹ ์ œ์ถœ","C20H25N3O4 ๊ฐ™์€ ๋ถ„์ž์‹์€ ์ด์„ฑ์งˆ์ฒด๊ฐ€ ๋„ˆ๋ฌด ๋งŽ์•„ ํ‰๊ฐ€๊ฐ€ ๋ถˆ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค. SMILES ๋˜๋Š” InChI๋กœ ๋‚ด์‹ญ์‹œ์˜ค."],
      ["๊ฐ™์€ ๊ตฌ์กฐ ์žฌ์ œ์ถœ","์ด๋ฏธ ๋“ฑ๋ก๋œ ๊ตฌ์กฐ์™€ ๊ฐ™์œผ๋ฉด ๋ฐ˜๋ ค๋ฉ๋‹ˆ๋‹ค. ๋จผ์ € ๋‚ธ ๋ถ„์—๊ฒŒ ๊ท€์†๋ฉ๋‹ˆ๋‹ค."],
    ],
    g4_h:"์ ์ˆ˜๋Š” ์–ด๋–ป๊ฒŒ ๋‚˜๋‰˜๋‚˜",
    g4_lead:"{WEIGHTS}<br><br><b>๊ธฐ์ค€์„ ๊ฐ์ถ”์ง€ ์•Š๋Š” ์ด์œ ๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค.</b> ๋ฌด์—‡์ด ์ ์ˆ˜๋ฅผ ๋ฐ›๋Š”์ง€ ์•Œ๋ฉด ์ฐธ๊ฐ€์ž๊ฐ€ ์‹ค์ œ๋กœ ๋” ๋‚˜์€ ๋ถ„์ž๋ฅผ ๋งŒ๋“ญ๋‹ˆ๋‹ค. ์šฐ๋ฆฌ๊ฐ€ ์›ํ•˜๋Š” ๊ฑด ๊ทธ๊ฒƒ์ž…๋‹ˆ๋‹ค.<br><br>๋ช‡ ๊ฐ€์ง€ ์ •์ฑ…๋งŒ ๋ฏธ๋ฆฌ ์•Œ๋ ค๋“œ๋ฆฝ๋‹ˆ๋‹ค. <b>์‹ ๊ทœ์„ฑ์€ ํšจ๋ ฅ์— ๊ณฑํ•ด์ง‘๋‹ˆ๋‹ค</b> โ€” ์ƒˆ๋กญ๊ธฐ๋งŒ ํ•˜๊ณ  ๋“ฃ์ง€ ์•Š์œผ๋ฉด 0์ ์ž…๋‹ˆ๋‹ค. <b>ADMETยท์‹ ๊ทœ์„ฑยทํ•ฉ์„ฑ์€ ํ›„๋ณด์„ฑ์— ๋น„๋ก€ํ•ฉ๋‹ˆ๋‹ค</b> โ€” ์•„๋ฌด ํšจ๊ณผ ์—†๋Š” ์•ˆ์ „ํ•œ ๋ถ„์ž๋Š” ์„ฑ์ทจ๊ฐ€ ์•„๋‹™๋‹ˆ๋‹ค. <b>๋ถˆํ™•์‹คํ•œ ์˜ˆ์ธก์€ ๋‚ฎ๊ฒŒ ์ฑ„์ ๋ฉ๋‹ˆ๋‹ค</b> โ€” ์šฐ๋ฆฌ ๋„๊ตฌ๊ฐ€ ํ™•์‹ ํ•˜์ง€ ๋ชปํ•˜๋Š” ํ›„๋ณด๋Š” ๊ทธ๋งŒํผ ๊นŽ์ž…๋‹ˆ๋‹ค.<br><br>์ˆœ์œ„ํ‘œ์—์„œ ๊ฐ ํ–‰์— ๋งˆ์šฐ์Šค๋ฅผ ์˜ฌ๋ฆฌ๋ฉด <b>์ถ•๋ณ„ ์ ์ˆ˜์™€ ๊ทธ ๊ทผ๊ฑฐ ์ˆ˜์น˜</b>๊ฐ€ ๋‚˜์˜ต๋‹ˆ๋‹ค. ๊ทธ๋Œ€๋กœ ๋ณต์‚ฌํ•ด ํ”„๋กฌํ”„ํŠธ E์— ๋„ฃ์œผ์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค.",
    prize_h:"์ƒ๊ธˆ", prize_unit:"USD",
    prize_total_label:(amt,n)=>`์‹œ์ฆŒ ${n}๊ฐœ ๋ˆ„์  ์ด ์ƒ๊ธˆ $${amt}`,
    prize_body:"๊ฐ ์‹œ์ฆŒ์ด ๋๋‚  ๋•Œ <b>์ˆœ์œ„ํ‘œ 1์œ„์—๊ฒŒ ์ƒ๊ธˆ์„ ๋“œ๋ฆฝ๋‹ˆ๋‹ค.</b> ์ฒซ ์‹œ์ฆŒ(#1 ๋ง๋ผ๋ฆฌ์•„)์€ <b>2026๋…„ 9์›” 30์ผ</b> ๋งˆ๊ฐ์ด๋ฉฐ ์ƒ๊ธˆ์€ ๋ฏธํ™” 1,000๋‹ฌ๋Ÿฌ์ž…๋‹ˆ๋‹ค.<br><br>์ด ๋ˆ์€ ์—ฌ๋Ÿฌ๋ถ„์ด ์“ด ์‹œ๊ฐ„๊ณผ ํ† ํฐ์— ๋Œ€ํ•œ ๋Œ€๊ฐ€๊ฐ€ ๋˜๊ธฐ์—๋Š” ํ„ฑ์—†์ด ๋ถ€์กฑํ•ฉ๋‹ˆ๋‹ค. ๊ทธ๋ ‡๊ฒŒ ๊ณ„์‚ฐํ•  ์ƒ๊ฐ๋„ ์—†์Šต๋‹ˆ๋‹ค. <b>์ด๊ฒƒ์€ โ€œ๋‹น์‹ ์ด ํ•œ ์ผ์— ๊ฐ’์ด ์žˆ์—ˆ๋‹คโ€๊ณ  ๋งํ•˜๋Š” ๋ฐฉ์‹์ž…๋‹ˆ๋‹ค.</b><br><br>์†Œ์™ธ์งˆํ™˜ ์—ฐ๊ตฌ๊ฐ€ ํž˜๋“  ์ด์œ ๋Š” ์•„๋ฌด๋„ ๊ณ ๋ง™๋‹ค๊ณ  ํ•˜์ง€ ์•Š๊ธฐ ๋•Œ๋ฌธ์ž…๋‹ˆ๋‹ค. ๋…ผ๋ฌธ๋„ ์ž˜ ์•ˆ ์‹ค๋ฆฌ๊ณ , ํˆฌ์ž๋„ ์•ˆ ๋ถ™๊ณ , ์•„๋ฌด๋„ ๋ณด์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์ด ๋Œ€ํšŒ๋Š” ์ตœ์†Œํ•œ ๋ˆ„๊ฐ€ ๋ฌด์—‡์„ ๊ธฐ์—ฌํ–ˆ๋Š”์ง€ ๊ธฐ๋ก์œผ๋กœ ๋‚จ๊ธฐ๊ณ , ์‹œ์ฆŒ๋งˆ๋‹ค ํ•œ ๋ฒˆ ๊ฐ์‚ฌ๋ฅผ ํ‘œํ•ฉ๋‹ˆ๋‹ค.",
    prize_fine:"์‹œ์ฆŒ๋งˆ๋‹ค ๋Œ€์ƒ ์งˆ๋ณ‘์ด ๋ฐ”๋€๋‹ˆ๋‹ค. ยท ์ƒ๊ธˆ์€ ๋ฏธํ™”(USD) ๊ธฐ์ค€์ด๋ฉฐ ์ง€๊ธ‰ ๋ฐฉ๋ฒ•์€ ์ˆ˜์ƒ์ž์™€ ํ˜‘์˜ํ•˜์—ฌ ์ •ํ•ฉ๋‹ˆ๋‹ค. ยท <b>ํ›„์›์‚ฌ๊ฐ€ ํ™•๋ณด๋˜๋ฉด ์ƒ๊ธˆ ๊ทœ๋ชจ๋Š” ์ƒํ–ฅ๋  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.</b> ยท ์ˆ˜์ƒ์ž๋Š” Space ์ปค๋ฎค๋‹ˆํ‹ฐ ํƒญ์— ๊ณต์ง€ํ•ฉ๋‹ˆ๋‹ค. ยท ๋™์  ์‹œ ๋จผ์ € ์ œ์ถœํ•œ ๋ถ„์ด ์šฐ์„ ํ•ฉ๋‹ˆ๋‹ค. ยท ๋ฒ•๋ น์ƒ ์ง€๊ธ‰์ด ๋ถˆ๊ฐ€๋Šฅํ•œ ๊ฒฝ์šฐ๋Š” ์ œ์™ธ๋  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.",
    own_h:"์ œ์ถœํ•œ ๋ถ„์ž๋Š” ์—ฌ๋Ÿฌ๋ถ„์˜ ๊ฒƒ์ž…๋‹ˆ๋‹ค",
    own_keep:"<b>์†Œ์œ ๊ถŒ์€ ์ „์ ์œผ๋กœ ์ œ์ถœ์ž์—๊ฒŒ ์žˆ์Šต๋‹ˆ๋‹ค.</b> VIDRAFT๋Š” ์ฑ„์ ๊ณผ ์ˆœ์œ„ํ‘œ ํ‘œ์‹œ์— ํ•„์š”ํ•œ ๋ฒ”์œ„์—์„œ๋งŒ ์‚ฌ์šฉํ•˜๋ฉฐ, ํŠนํ—ˆยท์†Œ์œ ๊ถŒ์„ ๊ฐ€์ ธ๊ฐ€์ง€ ์•Š๊ณ  ์ œ3์ž์—๊ฒŒ ์ œ๊ณตํ•˜์ง€ ์•Š์œผ๋ฉฐ ์ž์‚ฌ ํŒŒ์ดํ”„๋ผ์ธ์— ํˆฌ์ž…ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.",
    own_body:"๊ณต๊ฐœ ์—ฌ๋ถ€๋„ ์ œ์ถœ์ž๊ฐ€ ์ •ํ•ฉ๋‹ˆ๋‹ค. <b>๋น„๊ณต๊ฐœ</b>๋ฅผ ์„ ํƒํ•˜๋ฉด ์ˆœ์œ„ํ‘œ์—๋Š” ํ›„๋ณด IDยท๊ณจ๊ฒฉ ํ•ด์‹œยท๋ถ„์ž๋Ÿ‰ ๊ตฌ๊ฐ„ยท์ ์ˆ˜๋งŒ ํ‘œ์‹œ๋˜๊ณ  ๊ตฌ์กฐ๋Š” ๋‚˜์˜ค์ง€ ์•Š์Šต๋‹ˆ๋‹ค. <b>๊ณต๊ฐœ</b>๋ฅผ ์„ ํƒํ•˜๋ฉด ์ „์ฒด ๊ตฌ์กฐ๊ฐ€ ํ‘œ์‹œ๋˜์–ด ๋‹ค๋ฅธ ์ฐธ๊ฐ€์ž๊ฐ€ ๋ณด๊ณ  ๋ฐฐ์šธ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.",
    own_warn:"โš ๏ธ <b>๋‘ ๊ฐ€์ง€๋ฅผ ๋ถ„๋ช…ํžˆ ๋ง์”€๋“œ๋ฆฝ๋‹ˆ๋‹ค.</b><br>โ‘  ๋น„๊ณต๊ฐœ๋Š” <b>๋‹ค๋ฅธ ์ฐธ๊ฐ€์ž์™€ ๋Œ€์ค‘์—๊ฒŒ</b> ๊ณต๊ฐœํ•˜์ง€ ์•Š๋Š”๋‹ค๋Š” ๋œป์ž…๋‹ˆ๋‹ค. ์ฑ„์ ํ•˜๋ ค๋ฉด ๊ตฌ์กฐ๊ฐ€ ํ•„์š”ํ•˜๋ฏ€๋กœ VIDRAFT ์‹œ์Šคํ…œ์—๋Š” ์ €์žฅ๋˜๋ฉฐ, ์ฑ„์  ์™ธ ๋ชฉ์ ์œผ๋กœ ์“ฐ์ง€ ์•Š์Šต๋‹ˆ๋‹ค.<br>โ‘ก <b>๊ณต๊ฐœ๋ฅผ ์„ ํƒํ•˜๋ฉด ํŠนํ—ˆ ์‹ ๊ทœ์„ฑ์„ ์žƒ์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.</b> ๊ตฌ์กฐ๋ฅผ ๊ณต๊ฐœํ•˜๋Š” ์ˆœ๊ฐ„ ๊ณต์ง€(disclosure)๊ฐ€ ๋˜์–ด ์ดํ›„ ๊ทธ ๋ฌผ์งˆ๋กœ ํŠนํ—ˆ๋ฅผ ๋ฐ›๊ธฐ ์–ด๋ ค์›Œ์งˆ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ƒ์—…์  ํ™œ์šฉ์„ ์—ผ๋‘์— ๋‘์…จ๋‹ค๋ฉด <b>๋น„๊ณต๊ฐœ๋ฅผ ์„ ํƒํ•˜๊ณ  ์ถœ์›์„ ๋จผ์ € ํ•˜์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค.</b>",
    l_vis:"๊ณต๊ฐœ ์—ฌ๋ถ€", vis_priv:"๐Ÿ”’ ๋น„๊ณต๊ฐœ (๊ธฐ๋ณธ)", vis_pub:"๐Ÿ”“ ์ „์ฒด ๊ตฌ์กฐ ๊ณต๊ฐœ",
    chart_h:"AI ๋ชจ๋ธ๋ณ„ ์„ฑ๊ณผ",
    chart_sub:"์–ด๋А ๋ชจ๋ธ์ด <b>๊ฐ€์žฅ ์ข‹์€ ํ›„๋ณด</b>๋ฅผ ๋ƒˆ๋Š”์ง€(๋ง‰๋Œ€)์™€ <b>์–ผ๋งˆ๋‚˜ ์“ฐ์ด๋Š”์ง€</b>(์˜ค๋ฅธ์ชฝ)๋ฅผ ํ•จ๊ป˜ ๋ด…๋‹ˆ๋‹ค. ๋งŽ์ด ์“ฐ์ธ๋‹ค๊ณ  ์ž˜ํ•˜๋Š” ๊ฒƒ์€ ์•„๋‹ˆ๋ฏ€๋กœ ๋”ฐ๋กœ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค.",
    chart_empty:"์ฑ„์ ๋œ ์ œ์ถœ์ด ์Œ“์ด๋ฉด ๋ชจ๋ธ๋ณ„ ์„ฑ๊ณผ๊ฐ€ ์—ฌ๊ธฐ์— ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.",
    lg_best:"์ตœ๊ณ  ์ ์ˆ˜", lg_mean:"ํ‰๊ท ", lg_use:"์ œ์ถœ ์ˆ˜",
    mcounts:(m,n)=>"๋ชจ๋ธ "+m+" ยท ์ œ์ถœ "+n,
    signin:"Hugging Face๋กœ ๋กœ๊ทธ์ธ", signout:"๋กœ๊ทธ์•„์›ƒ",
    gate:"์ œ์ถœํ•˜๋ ค๋ฉด <b>Hugging Face ๋กœ๊ทธ์ธ</b>์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค. ์ œ์ถœ์ž ๊ณ„์ •์ด ์ˆœ์œ„ํ‘œ์— ํ•จ๊ป˜ ํ‘œ์‹œ๋˜๋ฉฐ, ์ด๋Š” ๋‹ค๋ฅธ ์‚ฌ๋žŒ ์ด๋ฆ„์œผ๋กœ ์˜ฌ๋ฆฌ๋Š” ๊ฒƒ์„ ๋ง‰๊ณ  ๋ชจ๋ธ๋ณ„ ์ง‘๊ณ„๋ฅผ ์‹ ๋ขฐํ•  ์ˆ˜ ์žˆ๊ฒŒ ํ•ฉ๋‹ˆ๋‹ค.",
    entrants:"๋ช… ์ฐธ๊ฐ€",
    l_struct:"๋ถ„์ž ๊ตฌ์กฐ์‹ (SMILES ๋˜๋Š” InChI)", l_name:"ํ‘œ์‹œ ID (์ด๋ฆ„ยท์†Œ์†ยท๋‹‰๋„ค์ž„)",
    l_model:"์‚ฌ์šฉ ๋ชจ๋ธ๋ช… (์„ ํƒ)", l_why:"์„ค๊ณ„ ๊ทผ๊ฑฐ (์„ ํƒ)",
    cols:{rank:"#",cand:"ํ›„๋ณด",user:"์ œ์ถœ์ž",who:"๋ชจ๋ธ",date:"์ œ์ถœ์ผ",activity:"์•ฝํšจ",binding:"๊ฒฐํ•ฉ",
          selectivity:"์„ ํƒ์„ฑ",admet:"ADMET",novelty:"์‹ ๊ทœ",synthesis:"ํ•ฉ์„ฑ",total:"์ด์ "},
    counts:(a,b)=>`์ œ์ถœ ${a} ยท ๊ธฐ์ค€๋ฌผ์งˆ ${b}`,
    prange:(a,b,n)=>`${a.toLocaleString()}โ€“${b.toLocaleString()} / ์ „์ฒด ${n.toLocaleString()}`,
    empty:"์•„์ง ์ฑ„์ ๋œ ์ œ์ถœ์ด ์—†์Šต๋‹ˆ๋‹ค.", loading:"๋ถˆ๋Ÿฌ์˜ค๋Š” ์ค‘โ€ฆ",
    anchor:"๊ธฐ์ค€", relegated:"๊ฐ•๋“ฑ", ref:"๊ธฐ์ค€๋ฌผ์งˆ", reactive:"๋ฐ˜์‘์„ฑ",
    boardnote:"<b>๊ธฐ์ค€๋ฌผ์งˆ(๋…ธ๋ž€ ํ–‰)์€ ์ ์ˆ˜๋ฅผ ๋ฐ›๋˜ ๋“ฑ์ˆ˜๋ฅผ ๊ฐ–์ง€ ์•Š์Šต๋‹ˆ๋‹ค.</b> ์ฒ™๋„๋ฅผ ๋ˆˆ์œผ๋กœ ํ™•์ธํ•˜์‹œ๋ผ๊ณ  ๋„ฃ์—ˆ์Šต๋‹ˆ๋‹ค.<br>๊ตฌ์กฐ๋Š” ์ „์ฒด ๊ณต๊ฐœํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค โ€” ๊ณจ๊ฒฉ ํ•ด์‹œ์™€ ๋ถ„์ž๋Ÿ‰ ๊ตฌ๊ฐ„๋งŒ ํ‘œ์‹œ๋˜๋ฉฐ ์›๋ณธ์€ ๋น„๊ณต๊ฐœ๋กœ ๋ณด๊ด€๋ฉ๋‹ˆ๋‹ค.<br>์ ์ˆ˜๋Š” <b>๊ณ„์‚ฐ ๊ธฐ๋ฐ˜ ํ›„๋ณด ํ‰๊ฐ€</b>์ด๋ฉฐ ์‹ค์ œ ํšจ๋Šฅยท์•ˆ์ „์„ฑ์ด๋‚˜ ์Šน์ธ์•ฝ๊ณผ์˜ ์šฐ์—ด์„ ๋œปํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.<br>์—ด ์ œ๋ชฉ์„ ๋ˆŒ๋Ÿฌ ์ •๋ ฌํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.",
    formnote:"๋ถ„์ž์‹(C20H25N3O4 ๋“ฑ)์€ ๋ฐ›์ง€ ์•Š์Šต๋‹ˆ๋‹ค โ€” ์ด์„ฑ์งˆ์ฒด๊ฐ€ ๋„ˆ๋ฌด ๋งŽ์•„ ํ‰๊ฐ€๊ฐ€ ๋ถˆ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.<br>์ œ์ถœ ์ฆ‰์‹œ ๊ตฌ์กฐ ๊ฒ€์‚ฌ๋ฅผ ๊ฑฐ์น˜๊ณ , ์ฑ„์ ์€ GPU ์ž‘์—… ๋Œ€๊ธฐ์—ด์—์„œ ์ฒ˜๋ฆฌ๋ฉ๋‹ˆ๋‹ค(์ˆ˜ ๋ถ„ ์†Œ์š”).",
    need:"๊ตฌ์กฐ์™€ ํ‘œ์‹œ ID๋Š” ํ•„์ˆ˜์ž…๋‹ˆ๋‹ค.", fail:"์š”์ฒญ ์‹คํŒจ: ", rejected:"์ œ์ถœ์ด ๊ฑฐ๋ถ€๋˜์—ˆ์Šต๋‹ˆ๋‹ค",
    busy:"์ €์žฅ์†Œ๊ฐ€ ํ˜ผ์žกํ•ด ์ ‘์ˆ˜๋ฅผ ํ™•์ •ํ•˜์ง€ ๋ชปํ–ˆ์Šต๋‹ˆ๋‹ค. ์ž ์‹œ ๋’ค ๊ทธ๋Œ€๋กœ ๋‹ค์‹œ ์ œ์ถœํ•˜์„ธ์š” - ํ˜น์‹œ ๋จผ์ € ๊ธฐ๋ก๋๋‹ค๋ฉด ์ค‘๋ณต์œผ๋กœ ์•ˆ๋‚ด๋ฉ๋‹ˆ๋‹ค.",
    queued:(id,n,note)=>`์ ‘์ˆ˜๋˜์—ˆ์Šต๋‹ˆ๋‹ค ยท ${id} ยท ๋Œ€๊ธฐ ${n}๊ฑด. ${note}`,
    auto:"๋ธŒ๋ผ์šฐ์ € ์„ค์ •์—์„œ ์ž๋™ ์„ ํƒ", manual:"์ง์ ‘ ์„ ํƒํ•จ",
  },
  en:{
    xlink:`๐Ÿ”‹ <b>Open Materials Challenge</b> <em>โ€” the sister challenge, for battery materials</em> โ†—`,
    xlink2:`๐ŸŽฏ <b>LEADBOARD</b> <em>โ€” the benchmark for drug prediction tools</em> โ†—`,
    topic:"Malaria", board:"Leaderboard", submit:"Submit", btn:"Submit entry",
    concept:"Verifying and evaluating <b>AI-discovered malaria drug candidates</b>",
    tagline:"However you found the candidate, it is checked computationally against the same rubric and scored. The target is PfDHODH, an enzyme the malaria parasite depends on; the human counterpart must be left alone.",
    how_h:"How to take part",
    why:"<b>Malaria kills about 597,000 people a year, and roughly three quarters of them are children who never reach five</b> (WHO World Malaria Report 2024, 2023 estimates). Not for want of chemistry - for want of a market, because the patients are poor. Which is exactly where people working from conviction rather than return can still change the outcome.<br><br>AI already produces drug candidates in volume. The bottleneck is no longer discovery but <b>the means to check whether a candidate is any good</b>. A model will draw plausible molecules all day; it cannot tell you whether they kill the parasite, harm the patient, or can be made at all. This challenge publishes that check โ€” <b>bring what your AI found, and it is verified computationally and ranked on the same scale as everyone else's.</b>",
    s1_h:"1. Design a candidate with any AI",
    s1_p:"OpenAI, Claude, Gemini, Qwen, KIMI, DeepSeek โ€” any model, any harness, or by hand. The goal is a small molecule that blocks PfDHODH, an enzyme the malaria parasite depends on.",
    s2_h:"2. Submit the structure",
    s2_p:"Enter it as SMILES or InChI. Every entry is structure-checked on arrival for reactivity, PAINS and duplicates. Molecular formulas are not accepted โ€” too many isomers.",
    s3_h:"3. It is scored and ranked automatically",
    s3_p:"VIDRAFT's PharmaOS and CellOS compute activity, target binding, selectivity, toxicity, novelty and synthetic accessibility out of 100, and the table orders entries by score. Reference compounds sit in the same table so you can read what your number means.",
    ov_axes:{activity:"Activity",binding:"Binding",selectivity:"Selectivity",admet:"ADMET",novelty:"Novelty",synthesis:"Synthesis"},
    ov_why:{
      activity:d=>`whole-cell pAct, lower bound ${d.pAct_q10 ?? "โ€“"}`,
      binding:d=>`pIC50 ${d.pIC50 ?? "โ€“"} ยท ligand efficiency ${d.LE ?? "โ€“"}`,
      selectivity:d=>`${d.fold ?? "โ€“"}x over human ยท engagement ${d.target_engagement ?? "โ€“"}`,
      admet:d=>`desirability, geometric mean ${d.geometric_mean ?? "โ€“"}`,
      novelty:d=>`nearest known compound ${d.max_tanimoto ?? "โ€“"}`,
      synthesis:d=>`SA score ${d.sa_score ?? "โ€“"} (1 easy - 10 hard)`,
    },
    ov_pred:"Predicted", ov_pf:"parasite enzyme", ov_hs:"human enzyme", ov_sel:"selectivity",
    private_note:"structure withheld by the entrant", copy_smiles:"Copy SMILES",
    tally_label:"entries", daily_cap:"Up to 30 entries per account per day, resetting at midnight KST.",
    season_soon:"soon", season_notopen:"This season is not taking entries yet. It opens once the scorer has been checked, and we will say so.",
    cd_label:"Season #1 closes in", cd_day:"Day", cd_over_label:"Season #1 closed",
    cd_over:"closed", view_3d:"View in 3D",
    v3_loading:"building conformer\u2026", v3_atoms:"atoms",
    v3_failed:"could not build a 3D conformer",
    private_full:"The entrant chose to keep this structure private. It is identified only by its candidate ID and skeleton hash.",
    reasons:{
      parse:      r=>"Structure could not be parsed (submit SMILES or InChI)",
      covalent:   r=>`Covalent warhead detected (${r.arg}) โ€” Season 1 is a non-covalent track`,
      mw:         r=>`Molecular weight ${r.arg} > ${r.limit}`,
      heavy:      r=>`Heavy atoms ${r.arg} > ${r.limit}`,
      pains:      r=>`PAINS motif (${r.arg})`,
      duplicate:  r=>"This structure has already been entered",
      ames:       r=>`Predicted mutagenicity (Ames) ${r.arg} > ${r.limit}`,
      solubility: r=>`Extreme insolubility (logS ${r.arg} < ${r.limit})`,
    },
    ov_none:"No scoring detail was recorded for this entry.",
    ov_foot:"All values are computed predictions, not measurements, and are not claims about real efficacy or safety.",
    tab_board:"Leaderboard",tab_models:"Model standings", tab_guide:"Entrant guide",
    ge_h:"What does the scoring",
    ge_lead:"Every entry is assessed by two VIDRAFT systems working together. One asks how the molecule behaves against the target; the other asks what that means in a living cell and a whole body.",
    ge_p_role:"molecule ยท target", ge_c_role:"cell ยท organism",
    ge_p_body:"Whether the molecule actually binds the target protein, how tightly, and whether that affinity was designed or simply bought with bulk.",
    ge_p_list:["Docking against the parasite enzyme and the human one","Binding efficiency relative to size โ€” so mass cannot buy points","Structural distance from known antimalarial chemical space","Synthetic accessibility"],
    ge_c_body:"Binding is not a drug. Whether the parasite dies, whether the patient is harmed, and whether the compound survives a body at all.",
    ge_c_list:["Whole-cell antimalarial activity โ€” does the parasite die","Absorption, distribution, metabolism, excretion and toxicity","Avoiding the human enzyme โ€” no immunosuppression","Uncertain predictions score lower โ€” confidence is rewarded"],
    ge_proof:"<b>Why trust the scoring.</b> Our predictive models hold <b>first place across 16 tracks of the public benchmark Polaris Hub</b>, spanning absorption, distribution, metabolism, toxicity, potency and kinase selectivity. The most recent is <b>MDR1-MDCK efflux ratio</b> (11 Aug 2026, correlation 0.802 against 0.725 for second). All sixteen are named below under the slugs Polaris uses, so you can look each one up.",
    ge_caveat:"โš ๏ธ All sixteen were checked to exist as Polaris benchmarks. Polaris does not expose placements through a public API, so the rankings themselves cannot be verified automatically from outside.<br>Whether <em>this</em> contest scores honestly is easier to check โ€” <b>approved drugs and inert compounds sit in the same table as the entries.</b> See whether the clinical candidate lands at the top and caffeine and ibuprofen land at the bottom.",
    g1_h:"What you are designing",
    g1_lead:"The malaria parasite depends on an enzyme called <b>PfDHODH</b> to survive. Block it and the parasite dies. The complication is that we have a close relative of that enzyme ourselves.",
    g1_a_t:"Block this", g1_a:"PfDHODH โ€” the parasite's enzyme. It cannot survive without it.",
    g1_b_t:"Leave this alone", g1_b:"Human DHODH โ€” the homologue. Inhibiting it gives immunosuppression, not a cure.",
    g1_c_t:"Get past this", g1_c:"The parasite lives inside a red blood cell. Two membranes stand between your compound and the target.",
    g2_h:"Prompts to paste into your model",
    g2_lead:"Five, each with a different strategy. <b>Any model works</b> โ€” OpenAI, Claude, Gemini, Qwen, KIMI, DeepSeek, open weights, whatever you use. Copy and go.<br><b>Change the highlighted part.</b> Used verbatim, these produce the same molecules for everyone; the first submission is registered and the rest come back as duplicates.",
    g3_h:"Why entries get rejected",
    g3_lead:"Structures are checked on arrival, so anything below comes straight back rather than reaching the table.",
    fails:[
      ["Analogue of a known drug","Novelty lands near zero. The reference compound scores zero there itself, and an analogue inherits it โ€” one tested analogue scored 0.96 out of 10."],
      ["PAINS motif","Structures that hit many targets indiscriminately. Rejected automatically."],
      ["Molecular weight over {MW}","Rejected. The cap stops binding scores being bought with sheer mass."],
      ["A molecular formula","C20H25N3O4 and the like have too many isomers to evaluate. Submit SMILES or InChI."],
      ["A structure already entered","Duplicates are rejected and credited to whoever submitted first."],
    ],
    g4_h:"How the points divide",
    g4_lead:"{WEIGHTS}<br><br><b>The rubric is published on purpose.</b> An entrant who knows what earns points produces better molecules than one who is guessing, and better molecules are the entire objective.<br><br>A few policies worth knowing up front. <b>Novelty is multiplied by potency</b> โ€” new and inert is worth nothing. <b>ADMET, novelty and synthesis scale with how much of a candidate the molecule is</b> โ€” a perfectly safe compound that does nothing has achieved nothing. <b>Uncertain predictions score lower</b> โ€” where our tools are unsure, you are marked down accordingly.<br><br>Hover any row on the leaderboard to see <b>every axis and the numbers behind it</b>. Copy that into prompt E.",
    prize_h:"Prize", prize_unit:"USD",
    prize_total_label:(amt,n)=>`$${amt} in total across ${n} seasons`,
    prize_body:"When a season closes, <b>the entry at the top of the table receives a prize.</b> Season #1 (Malaria) closes on <b>30 September 2026</b> and carries USD 1,000.<br><br>This does not come close to paying for the time and tokens you spent, and it is not meant to. <b>It is a way of saying that what you did had worth.</b><br><br>Neglected-disease work is thankless by construction: the papers are hard to place, the funding is not there, and mostly nobody looks. This challenge at least records who contributed what, and says thank you once a season.",
    prize_fine:"Each season targets a different disease. ยท The prize is denominated in USD; the method of payment is agreed with the recipient. ยท <b>Should sponsors come on board, the amount may increase.</b> ยท Winners are announced in the Space community tab. ยท Ties go to whoever submitted first. ยท Payment may be withheld where law forbids it.",
    own_h:"Your molecule stays yours",
    own_keep:"<b>Ownership remains entirely with the entrant.</b> VIDRAFT uses a submission only to score it and to display it on the table. We take no patent or ownership interest, pass nothing to third parties, and put nothing into our own pipeline.",
    own_body:"You also decide who sees it. Choose <b>private</b> and the table shows only a candidate ID, a skeleton hash, a molecular-weight band and the scores. Choose <b>public</b> and the full structure is shown, so other entrants can learn from it.",
    own_warn:"โš ๏ธ <b>Two things stated plainly.</b><br>1. Private means hidden from other entrants and the public. Scoring needs the structure, so it is stored on VIDRAFT systems and used for nothing else.<br>2. <b>Making a structure public can cost you patentability.</b> Publication is disclosure, and disclosure can bar a later patent on that compound. If you have any commercial intent, <b>keep it private and file first.</b>",
    l_vis:"Visibility", vis_priv:"๐Ÿ”’ Private (default)", vis_pub:"๐Ÿ”“ Publish full structure",
    chart_h:"Model standings",
    chart_sub:"Which model produced the <b>best candidate</b> (bar) alongside <b>how much it gets used</b> (right). Popularity is not quality, so the two are shown separately.",
    chart_empty:"Model standings appear here once scored entries accumulate.",
    lg_best:"best score", lg_mean:"mean", lg_use:"entries",
    mcounts:(m,n)=>m+" models ยท "+n+" entries",
    signin:"Sign in with Hugging Face", signout:"Sign out",
    gate:"Submitting requires a <b>Hugging Face sign-in</b>. Your account is shown next to your entry, which stops anyone posting under someone else's name and keeps the per-model chart trustworthy.",
    entrants:"entrants",
    l_struct:"Structure (SMILES or InChI)", l_name:"Display ID (name, affiliation or handle)",
    l_model:"Model used (optional)", l_why:"Design rationale (optional)",
    cols:{rank:"#",cand:"Candidate",user:"Entrant",who:"Model",date:"Submitted",activity:"Activity",binding:"Binding",
          selectivity:"Select.",admet:"ADMET",novelty:"Novelty",synthesis:"Synth.",total:"Total"},
    counts:(a,b)=>`${a} entries ยท ${b} references`,
    prange:(a,b,n)=>`${a.toLocaleString()}โ€“${b.toLocaleString()} of ${n.toLocaleString()}`,
    empty:"No scored entries yet.", loading:"Loadingโ€ฆ",
    anchor:"REF", relegated:"RELEG.", ref:"reference", reactive:"reactive",
    boardnote:"<b>Reference compounds (amber rows) are scored but never ranked.</b> They are there so you can see the scale.<br>Structures are not published in full โ€” only a skeleton hash and a molecular-weight band; the original is held privately.<br>Scores are a <b>computational assessment of candidates</b>. They are not a claim about real efficacy or safety, nor a comparison against approved drugs.<br>Click a column header to sort.",
    formnote:"Molecular formulas (C20H25N3O4 and the like) are not accepted โ€” too many isomers to evaluate.<br>Entries are structure-checked on submission; scoring runs on a GPU queue and takes a few minutes.",
    need:"Structure and display ID are required.", fail:"Request failed: ", rejected:"Entry rejected",
    busy:"The ledger was too busy to confirm this entry. Resubmit the same candidate in a moment - if it did land, you will be told it is a duplicate.",
    queued:(id,n,note)=>`Accepted ยท ${id} ยท ${n} in queue. ${note}`,
    auto:"detected from your browser", manual:"chosen by you",
  }
};

// The visitor's own setting decides; the toggle can still override it.
let LANG = (function(){
  const n = (navigator.languages && navigator.languages[0]) || navigator.language || "en";
  return String(n).toLowerCase().startsWith("ko") ? "ko" : "en";
})();
let LANG_AUTO = true;

const COLS = ["rank","cand","user","who","date","activity","binding","selectivity","admet","novelty","synthesis","total"];
const AX = ["activity","binding","selectivity","admet","novelty","synthesis"];
let DATA = null, sortKey = "total", sortDir = -1;
// Large seasons are drawn one page at a time rather than all at once.
const PAGE_SIZE = 500;
let page = 0;

const $ = s => document.querySelector(s);

// Which season the whole page is showing. Kept in the URL so a link to a season is a
// link to that season, and remembered so a return visit lands where the reader left off.
let SEASON = (function(){
  const u = new URLSearchParams(location.search).get("season");
  const v = u || localStorage.getItem("odc_season") || "1";
  return parseInt(v, 10) || 1;
})();
let SEASONS = null;
function seasonInfo(){
  return (SEASONS || []).find(s => s.number === SEASON) || null;
}
function qs(){ return "?season=" + SEASON; }
const f1 = v => (v==null||v==="") ? "โ€“" : (+v).toFixed(1);
// totals carry three decimals; the per-axis columns stay at one, where the extra digits
// would be width without information
const f3 = v => (v==null||v==="") ? "โ€“" : (+v).toFixed(3);

// ---------------------------------------------------------------- season copy
// Only what actually differs between seasons. Everything else lives in T and is shared,
// so a new season is a block of writing rather than an edit to the page.
const ST = {
 ko: {
  1: {
   topic:"๋ง๋ผ๋ฆฌ์•„",
   concept:"<b>AI๊ฐ€ ๋ฐœ๊ฒฌํ•œ ๋ง๋ผ๋ฆฌ์•„ ์‹ ์•ฝ ํ›„๋ณด ๋ฌผ์งˆ</b>์˜ ๊ฒ€์ฆ ๋ฐ ํ‰๊ฐ€",
   tagline:"์–ด๋–ค AI๋กœ ์ฐพ์•„๋‚ธ ํ›„๋ณด๋“ , ๊ฐ™์€ ๊ธฐ์ค€์œผ๋กœ ๊ณ„์‚ฐ ๊ฒ€์ฆํ•˜๊ณ  ์ ์ˆ˜๋ฅผ ๋งค๊น๋‹ˆ๋‹ค. ํ‘œ์ ์€ ๋ง๋ผ๋ฆฌ์•„ ์›์ถฉ์ด ์˜์กดํ•˜๋Š” ํšจ์†Œ PfDHODH์ด๋ฉฐ, ์‚ฌ๋žŒ์˜ ๊ฐ™์€ ํšจ์†Œ(DHODH)๋Š” ๊ฑด๋“œ๋ฆฌ์ง€ ์•Š์•„์•ผ ํ•ฉ๋‹ˆ๋‹ค.",
   s1_p:"OpenAI ยท Claude ยท Gemini ยท Qwen ยท KIMI ยท DeepSeek ๋“ฑ ์–ด๋–ค ๋ชจ๋ธ์ด๋“ , ์–ด๋–ค ํ•˜๋„ค์Šค๋“  ์ž์œ ์ž…๋‹ˆ๋‹ค. ์ง์ ‘ ์„ค๊ณ„ํ•ด๋„ ๋ฉ๋‹ˆ๋‹ค. ๋ง๋ผ๋ฆฌ์•„ ์›์ถฉ ํšจ์†Œ PfDHODH๋ฅผ ๋ง‰์„ ์ €๋ถ„์ž๋ฅผ ์ฐพ์œผ์„ธ์š”.",
   ov_pf:"๋ง๋ผ๋ฆฌ์•„ ํšจ์†Œ", ov_hs:"์‚ฌ๋žŒ ํšจ์†Œ",
   g1_lead:"๋ง๋ผ๋ฆฌ์•„ ์›์ถฉ์€ ์‚ด์•„๋‚จ๊ธฐ ์œ„ํ•ด <b>PfDHODH</b>๋ผ๋Š” ํšจ์†Œ์— ์˜์กดํ•ฉ๋‹ˆ๋‹ค. ์ด ํšจ์†Œ๋ฅผ ๋ง‰์œผ๋ฉด ์›์ถฉ์ด ์ฃฝ์Šต๋‹ˆ๋‹ค. ๋ฌธ์ œ๋Š” ์‚ฌ๋žŒ์—๊ฒŒ๋„ ๊ฐ™์€ ๊ณ„์—ด์˜ ํšจ์†Œ๊ฐ€ ์žˆ๋‹ค๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค.",
   g1_a:"PfDHODH โ€” ๋ง๋ผ๋ฆฌ์•„ ์›์ถฉ์˜ ํšจ์†Œ. ์›์ถฉ์ด ์ƒ์กด์— ์˜์กดํ•ฉ๋‹ˆ๋‹ค.",
   g1_b:"์‚ฌ๋žŒ DHODH โ€” ๊ฐ™์€ ๊ณ„์—ด. ๋ง‰์œผ๋ฉด ์น˜๋ฃŒ๊ฐ€ ์•„๋‹ˆ๋ผ ๋ฉด์—ญ์–ต์ œ ๋ถ€์ž‘์šฉ์ด ๋ฉ๋‹ˆ๋‹ค.",
   cd_label:"์‹œ์ฆŒ #1 ๋งˆ๊ฐ๊นŒ์ง€", cd_over_label:"์‹œ์ฆŒ #1 ๋งˆ๊ฐ",
   prize_amt:"$1,000",
   prize_body:"๊ฐ ์‹œ์ฆŒ์ด ๋๋‚  ๋•Œ <b>์ˆœ์œ„ํ‘œ 1์œ„์—๊ฒŒ ์ƒ๊ธˆ์„ ๋“œ๋ฆฝ๋‹ˆ๋‹ค.</b> ์‹œ์ฆŒ #1(๋ง๋ผ๋ฆฌ์•„)์€ <b>2026๋…„ 9์›” 30์ผ</b> ๋งˆ๊ฐ์ด๋ฉฐ ์ƒ๊ธˆ์€ ๋ฏธํ™” 1,000๋‹ฌ๋Ÿฌ์ž…๋‹ˆ๋‹ค.<br><br>์ด ๋ˆ์€ ์—ฌ๋Ÿฌ๋ถ„์ด ์“ด ์‹œ๊ฐ„๊ณผ ํ† ํฐ์— ๋Œ€ํ•œ ๋Œ€๊ฐ€๊ฐ€ ๋˜๊ธฐ์—๋Š” ํ„ฑ์—†์ด ๋ถ€์กฑํ•ฉ๋‹ˆ๋‹ค. ๊ทธ๋ ‡๊ฒŒ ๊ณ„์‚ฐํ•  ์ƒ๊ฐ๋„ ์—†์Šต๋‹ˆ๋‹ค. <b>์ด๊ฒƒ์€ โ€œ๋‹น์‹ ์ด ํ•œ ์ผ์— ๊ฐ’์ด ์žˆ์—ˆ๋‹คโ€๊ณ  ๋งํ•˜๋Š” ๋ฐฉ์‹์ž…๋‹ˆ๋‹ค.</b><br><br>์†Œ์™ธ์งˆํ™˜ ์—ฐ๊ตฌ๊ฐ€ ํž˜๋“  ์ด์œ ๋Š” ์•„๋ฌด๋„ ๊ณ ๋ง™๋‹ค๊ณ  ํ•˜์ง€ ์•Š๊ธฐ ๋•Œ๋ฌธ์ž…๋‹ˆ๋‹ค. ๋…ผ๋ฌธ๋„ ์ž˜ ์•ˆ ์‹ค๋ฆฌ๊ณ , ํˆฌ์ž๋„ ์•ˆ ๋ถ™๊ณ , ์•„๋ฌด๋„ ๋ณด์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์ด ๋Œ€ํšŒ๋Š” ์ตœ์†Œํ•œ ๋ˆ„๊ฐ€ ๋ฌด์—‡์„ ๊ธฐ์—ฌํ–ˆ๋Š”์ง€ ๊ธฐ๋ก์œผ๋กœ ๋‚จ๊ธฐ๊ณ , ์‹œ์ฆŒ๋งˆ๋‹ค ํ•œ ๋ฒˆ ๊ฐ์‚ฌ๋ฅผ ํ‘œํ•ฉ๋‹ˆ๋‹ค."
  },
  2: {
   topic:"๊ฒฐํ•ต",
   concept:"<b>AI๊ฐ€ ๋ฐœ๊ฒฌํ•œ ๊ฒฐํ•ต ์‹ ์•ฝ ํ›„๋ณด ๋ฌผ์งˆ</b>์˜ ๊ฒ€์ฆ ๋ฐ ํ‰๊ฐ€",
   tagline:"์–ด๋–ค AI๋กœ ์ฐพ์•„๋‚ธ ํ›„๋ณด๋“ , ๊ฐ™์€ ๊ธฐ์ค€์œผ๋กœ ๊ณ„์‚ฐ ๊ฒ€์ฆํ•˜๊ณ  ์ ์ˆ˜๋ฅผ ๋งค๊น๋‹ˆ๋‹ค. ํ‘œ์ ์€ ๊ฒฐํ•ต๊ท ์ด ์„ธํฌ๋ฒฝ์„ ๋งŒ๋“œ๋Š” ๋ฐ ์“ฐ๋Š” ํšจ์†Œ InhA์ด๋ฉฐ, ์‚ฌ๋žŒ์˜ ๊ฐ™์€ ํ™”ํ•™์„ ๋‹ด๋‹นํ•˜๋Š” ํšจ์†Œ(FASN ์—๋…ธ์ผํ™˜์›ํšจ์†Œ ์˜์—ญ)๋Š” ๊ฑด๋“œ๋ฆฌ์ง€ ์•Š์•„์•ผ ํ•ฉ๋‹ˆ๋‹ค.",
   why:"<b>๊ฒฐํ•ต์€ ํ•œ ํ•ด ์•ฝ 125๋งŒ ๋ช…์˜ ๋ชฉ์ˆจ์„ ๊ฐ€์ ธ๊ฐ‘๋‹ˆ๋‹ค. ๋‹จ์ผ ๊ฐ์—ผ๋ณ‘์œผ๋กœ๋Š” ์„ธ๊ณ„ ์ตœ๋‹ค์ž…๋‹ˆ๋‹ค</b>(WHO ์„ธ๊ณ„ ๊ฒฐํ•ต ๋ณด๊ณ ์„œ 2024). ์น˜๋ฃŒ์ œ๋Š” ์žˆ์Šต๋‹ˆ๋‹ค. ๋‹ค๋งŒ <b>6๊ฐœ์›”์„ ๋งค์ผ ๋จน์–ด์•ผ ํ•˜๊ณ </b>, ๊ทธ๋งˆ์ €๋„ ๋“ฃ์ง€ ์•Š๋Š” ๋‚ด์„ฑ๊ท ์ด ๊ณ„์† ๋Š˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ๋‹ค์ œ๋‚ด์„ฑ ๊ฒฐํ•ต ํ™˜์ž๋Š” 1๋…„ ๋„˜๊ฒŒ ์•ฝ์„ ๋จน๊ณ ๋„ ์ ˆ๋ฐ˜ ๊ฐ€๊นŒ์ด ๋‚ซ์ง€ ๋ชปํ•ฉ๋‹ˆ๋‹ค.<br><br>์ƒˆ ํ•ญ๊ฒฐํ•ต์ œ๊ฐ€ ๋“œ๋ฌธ ์ด์œ ๋Š” ๊ณผํ•™์ด ๋ง‰ํ˜€์„œ๊ฐ€ ์•„๋‹™๋‹ˆ๋‹ค. ํ™˜์ž ๋Œ€๋ถ€๋ถ„์ด ๊ฐ€๋‚œํ•œ ๋‚˜๋ผ์— ์žˆ์–ด ์‹œ์žฅ์ด ์„ฑ๋ฆฝํ•˜์ง€ ์•Š๊ธฐ ๋•Œ๋ฌธ์ž…๋‹ˆ๋‹ค. 40๋…„ ๋„˜๊ฒŒ ์‹ ์•ฝ์ด ํ•˜๋‚˜๋„ ๋‚˜์˜ค์ง€ ์•Š๋‹ค๊ฐ€ 2012๋…„์—์•ผ ๋ฒ ๋‹คํ€ผ๋ฆฐ์ด ์Šน์ธ๋์Šต๋‹ˆ๋‹ค.<br><br>์‹œ์ฆŒ #2๋Š” ๊ทธ ์ž๋ฆฌ๋ฅผ ๊ฒจ๋ƒฅํ•ฉ๋‹ˆ๋‹ค. <b>AI๊ฐ€ ๊ทธ๋ ค๋‚ธ ํ›„๋ณด๋ฅผ ๋ฐ›์•„, ๊ฐ™์€ ์žฃ๋Œ€๋กœ ๊ณ„์‚ฐ ๊ฒ€์ฆํ•˜๊ณ  ์ˆœ์œ„๋ฅผ ๋งค๊น๋‹ˆ๋‹ค.</b>",
   s1_p:"OpenAI ยท Claude ยท Gemini ยท Qwen ยท KIMI ยท DeepSeek ๋“ฑ ์–ด๋–ค ๋ชจ๋ธ์ด๋“ , ์–ด๋–ค ํ•˜๋„ค์Šค๋“  ์ž์œ ์ž…๋‹ˆ๋‹ค. ์ง์ ‘ ์„ค๊ณ„ํ•ด๋„ ๋ฉ๋‹ˆ๋‹ค. ๊ฒฐํ•ต๊ท  ํšจ์†Œ InhA๋ฅผ ๋ง‰์„ ์ €๋ถ„์ž๋ฅผ ์ฐพ์œผ์„ธ์š”.",
   ov_pf:"๊ฒฐํ•ต๊ท  ํšจ์†Œ", ov_hs:"์‚ฌ๋žŒ ํšจ์†Œ",
   g1_lead:"๊ฒฐํ•ต๊ท ์€ ์„ธํฌ๋ฒฝ์˜ ์ง€๋ฐฉ์‚ฐ์„ ๋งŒ๋“ค ๋•Œ <b>InhA</b>๋ผ๋Š” ํšจ์†Œ๋ฅผ ์”๋‹ˆ๋‹ค. ๊ฒฐํ•ต ํ‘œ์ค€ ์น˜๋ฃŒ์ œ์ธ ์ด์†Œ๋‹ˆ์•„์ง€๋“œ๊ฐ€ ์‹ค์ œ๋กœ ๋ง‰๋Š” ํšจ์†Œ๊ฐ€ ์ด๊ฒƒ์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๋Š” ์‚ฌ๋žŒ์—๊ฒŒ๋„ ๊ฐ™์€ ํ™”ํ•™์„ ํ•˜๋Š” ํšจ์†Œ๊ฐ€ ์žˆ๋‹ค๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค.",
   g1_a:"InhA โ€” ๊ฒฐํ•ต๊ท ์˜ ์—๋…ธ์ผํ™˜์›ํšจ์†Œ. ์ด์†Œ๋‹ˆ์•„์ง€๋“œยท์—ํ‹ฐ์˜ค๋‚˜๋ฏธ๋“œ๊ฐ€ ์ž‘์šฉํ•˜๋Š” ์ž๋ฆฌ์ž…๋‹ˆ๋‹ค.",
   g1_b:"์‚ฌ๋žŒ FASN์˜ ์—๋…ธ์ผํ™˜์›ํšจ์†Œ ์˜์—ญ โ€” ๊ฐ™์€ ํ™”ํ•™. ๋ง‰์œผ๋ฉด ์ง€๋ฐฉ์‚ฐ ํ•ฉ์„ฑ์ด ํ•จ๊ป˜ ๋ฉˆ์ถฅ๋‹ˆ๋‹ค.",
   g1_c:"๊ฒฐํ•ต๊ท ์€ ๋ฐ€๋ž ๊ฐ™์€ ๋งˆ์ด์ฝœ์‚ฐ ์„ธํฌ๋ฒฝ์— ์‹ธ์—ฌ ์žˆ์Šต๋‹ˆ๋‹ค. ์›ฌ๋งŒํ•œ ์„ธ๊ท ๋ณด๋‹ค ํ›จ์”ฌ ๋œ ํˆฌ๊ณผ๋˜๊ณ , ๋ฐฐ์ถœ ํŽŒํ”„๋„ ํ™œ๋ฐœํ•ฉ๋‹ˆ๋‹ค.",
   cd_label:"์‹œ์ฆŒ #2 ๋งˆ๊ฐ๊นŒ์ง€", cd_over_label:"์‹œ์ฆŒ #2 ๋งˆ๊ฐ",
   prize_amt:"$2,000",
   prize_body:"๊ฐ ์‹œ์ฆŒ์ด ๋๋‚  ๋•Œ <b>์ˆœ์œ„ํ‘œ 1์œ„์—๊ฒŒ ์ƒ๊ธˆ์„ ๋“œ๋ฆฝ๋‹ˆ๋‹ค.</b> ์‹œ์ฆŒ #2(๊ฒฐํ•ต)๋Š” <b>2026๋…„ 10์›” 31์ผ</b> ๋งˆ๊ฐ์ด๋ฉฐ ์ƒ๊ธˆ์€ ๋ฏธํ™” 2,000๋‹ฌ๋Ÿฌ์ž…๋‹ˆ๋‹ค.<br><br>์ด ๋ˆ์€ ์—ฌ๋Ÿฌ๋ถ„์ด ์“ด ์‹œ๊ฐ„๊ณผ ํ† ํฐ์— ๋Œ€ํ•œ ๋Œ€๊ฐ€๊ฐ€ ๋˜๊ธฐ์—๋Š” ํ„ฑ์—†์ด ๋ถ€์กฑํ•ฉ๋‹ˆ๋‹ค. ๊ทธ๋ ‡๊ฒŒ ๊ณ„์‚ฐํ•  ์ƒ๊ฐ๋„ ์—†์Šต๋‹ˆ๋‹ค. <b>์ด๊ฒƒ์€ โ€œ๋‹น์‹ ์ด ํ•œ ์ผ์— ๊ฐ’์ด ์žˆ์—ˆ๋‹คโ€๊ณ  ๋งํ•˜๋Š” ๋ฐฉ์‹์ž…๋‹ˆ๋‹ค.</b><br><br>์†Œ์™ธ์งˆํ™˜ ์—ฐ๊ตฌ๊ฐ€ ํž˜๋“  ์ด์œ ๋Š” ์•„๋ฌด๋„ ๊ณ ๋ง™๋‹ค๊ณ  ํ•˜์ง€ ์•Š๊ธฐ ๋•Œ๋ฌธ์ž…๋‹ˆ๋‹ค. ๋…ผ๋ฌธ๋„ ์ž˜ ์•ˆ ์‹ค๋ฆฌ๊ณ , ํˆฌ์ž๋„ ์•ˆ ๋ถ™๊ณ , ์•„๋ฌด๋„ ๋ณด์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์ด ๋Œ€ํšŒ๋Š” ์ตœ์†Œํ•œ ๋ˆ„๊ฐ€ ๋ฌด์—‡์„ ๊ธฐ์—ฌํ–ˆ๋Š”์ง€ ๊ธฐ๋ก์œผ๋กœ ๋‚จ๊ธฐ๊ณ , ์‹œ์ฆŒ๋งˆ๋‹ค ํ•œ ๋ฒˆ ๊ฐ์‚ฌ๋ฅผ ํ‘œํ•ฉ๋‹ˆ๋‹ค."
  },
  3: {
   topic:"์ƒค๊ฐ€์Šค๋ณ‘",
   concept:"<b>AI๊ฐ€ ๋ฐœ๊ฒฌํ•œ ์ƒค๊ฐ€์Šค๋ณ‘ ์‹ ์•ฝ ํ›„๋ณด ๋ฌผ์งˆ</b>์˜ ๊ฒ€์ฆ ๋ฐ ํ‰๊ฐ€",
   tagline:"์–ด๋–ค AI๋กœ ์ฐพ์•„๋‚ธ ํ›„๋ณด๋“ , ๊ฐ™์€ ๊ธฐ์ค€์œผ๋กœ ๊ณ„์‚ฐ ๊ฒ€์ฆํ•˜๊ณ  ์ ์ˆ˜๋ฅผ ๋งค๊น๋‹ˆ๋‹ค. ํ‘œ์ ์€ ์ƒค๊ฐ€์Šค๋ณ‘ ์›์ถฉ์ด ์„ธํฌ๋ง‰ ์Šคํ…Œ๋กค์„ ๋งŒ๋“œ๋Š” ๋ฐ ์“ฐ๋Š” ํšจ์†Œ CYP51์ด๋ฉฐ, ์‚ฌ๋žŒ์˜ ๊ฐ™์€ ํšจ์†Œ(CYP51A1)๋Š” ๊ฑด๋“œ๋ฆฌ์ง€ ์•Š์•„์•ผ ํ•ฉ๋‹ˆ๋‹ค.",
   why:"<b>์ƒค๊ฐ€์Šค๋ณ‘์€ ์ค‘๋‚จ๋ฏธ๋ฅผ ์ค‘์‹ฌ์œผ๋กœ ์•ฝ 600๋งŒ ๋ช…์ด ์•“๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค</b>(WHO). ๋Œ€๋ถ€๋ถ„ ์˜ค๋žœ ์„ธ์›” ์ฆ์ƒ ์—†์ด ์ง€๋‚ด๋‹ค๊ฐ€ ์‹ฌ์žฅ์ด๋‚˜ ์†Œํ™”๊ธฐ๊ฐ€ ์„œ์„œํžˆ ๋ง๊ฐ€์ง‘๋‹ˆ๋‹ค.<br><br>์น˜๋ฃŒ์ œ๋Š” <b>60๋…„ ๋œ ๋‘ ๊ฐ€์ง€๋ฟ</b>์ž…๋‹ˆ๋‹ค. ๋ฒค์ฆˆ๋‹ˆ๋‹ค์กธ๊ณผ ๋‹ˆํ‘ธ๋ฅดํ‹ฐ๋ชฉ์Šค ๋ชจ๋‘ ๋ถ€์ž‘์šฉ์ด ์‹ฌํ•ด ์ƒ๋‹น์ˆ˜ ํ™˜์ž๊ฐ€ ๋ณต์šฉ์„ ์ค‘๋‹จํ•˜๊ณ , ๋งŒ์„ฑ๊ธฐ์—๋Š” ํšจ๊ณผ๋„ ๋ถˆํ™•์‹คํ•ฉ๋‹ˆ๋‹ค.<br><br>์ƒˆ ์•ฝ์ด ๋‚˜์˜ค์ง€ ์•Š๋Š” ์ด์œ ๋Š” ๊ณผํ•™์ด ๋ง‰ํ˜€์„œ๊ฐ€ ์•„๋‹™๋‹ˆ๋‹ค. ํ™˜์ž ๋Œ€๋ถ€๋ถ„์ด ๊ฐ€๋‚œํ•œ ์ง€์—ญ์— ์žˆ์–ด ์‹œ์žฅ์ด ์„ฑ๋ฆฝํ•˜์ง€ ์•Š๊ธฐ ๋•Œ๋ฌธ์ž…๋‹ˆ๋‹ค. WHO๊ฐ€ ์ง€์ •ํ•œ ์†Œ์™ธ์—ด๋Œ€์งˆํ™˜์˜ ๋Œ€ํ‘œ ์‚ฌ๋ก€์ž…๋‹ˆ๋‹ค.",
   s1_p:"OpenAI ยท Claude ยท Gemini ยท Qwen ยท KIMI ยท DeepSeek ๋“ฑ ์–ด๋–ค ๋ชจ๋ธ์ด๋“ , ์–ด๋–ค ํ•˜๋„ค์Šค๋“  ์ž์œ ์ž…๋‹ˆ๋‹ค. ์ง์ ‘ ์„ค๊ณ„ํ•ด๋„ ๋ฉ๋‹ˆ๋‹ค. ์ƒค๊ฐ€์Šค๋ณ‘ ์›์ถฉ์˜ ํšจ์†Œ CYP51์„ ๋ง‰์„ ์ €๋ถ„์ž๋ฅผ ์ฐพ์œผ์„ธ์š”.",
   ov_pf:"์›์ถฉ ํšจ์†Œ", ov_hs:"์‚ฌ๋žŒ ํšจ์†Œ",
   g1_lead:"์ƒค๊ฐ€์Šค๋ณ‘ ์›์ถฉ์€ ์„ธํฌ๋ง‰์— ํ•„์š”ํ•œ ์Šคํ…Œ๋กค์„ ๋งŒ๋“ค ๋•Œ <b>CYP51</b>์ด๋ผ๋Š” ํšจ์†Œ๋ฅผ ์”๋‹ˆ๋‹ค. ์ด ํšจ์†Œ๋ฅผ ๋ง‰์œผ๋ฉด ์›์ถฉ์ด ์‚ด์•„๋‚จ์ง€ ๋ชปํ•ฉ๋‹ˆ๋‹ค. ๋ฌธ์ œ๋Š” ์‚ฌ๋žŒ์—๊ฒŒ๋„ <b>๊ฐ™์€ ์ด๋ฆ„์˜ ๊ฐ™์€ ํšจ์†Œ</b>๊ฐ€ ์žˆ๋‹ค๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค.",
   g1_a:"T. cruzi CYP51 โ€” ์›์ถฉ์˜ ์Šคํ…Œ๋กค 14ฮฑ-ํƒˆ๋ฉ”ํ‹ธํ™”ํšจ์†Œ. ์•„์กธ๊ณ„ ์•ฝ๋ฌผ์ด ์‹ค์ œ๋กœ ์ž‘์šฉํ•˜๋Š” ์ž๋ฆฌ์ž…๋‹ˆ๋‹ค.",
   g1_b:"์‚ฌ๋žŒ CYP51A1 โ€” ๊ฐ™์€ ํšจ์†Œ. ์•„์กธ๊ณ„ ํ•ญ์ง„๊ท ์ œ์˜ ๋ถ€์ž‘์šฉ์ด ์—ฌ๊ธฐ์„œ ๋‚˜์˜ต๋‹ˆ๋‹ค.",
   g1_c:"์›์ถฉ์€ ์ˆ™์ฃผ ์„ธํฌ ์•ˆ์—, ํŠนํžˆ ์‹ฌ๊ทผ ์„ธํฌ ์•ˆ์— ์•„๋งˆ์Šคํ‹ฐ๊ณ ํŠธ ํ˜•ํƒœ๋กœ ์‚ฝ๋‹ˆ๋‹ค. ์ˆ™์ฃผ ์„ธํฌ๋ง‰๊ณผ ์›์ถฉ๋ง‰์„ ์ฐจ๋ก€๋กœ ํ†ต๊ณผํ•ด์•ผ ํ‘œ์ ์— ๋‹ฟ์Šต๋‹ˆ๋‹ค.",
   cd_label:"์‹œ์ฆŒ #3 ๋งˆ๊ฐ๊นŒ์ง€", cd_over_label:"์‹œ์ฆŒ #3 ๋งˆ๊ฐ",
   prize_amt:"$1,000",
   prize_body:"๊ฐ ์‹œ์ฆŒ์ด ๋๋‚  ๋•Œ <b>์ˆœ์œ„ํ‘œ 1์œ„์—๊ฒŒ ์ƒ๊ธˆ์„ ๋“œ๋ฆฝ๋‹ˆ๋‹ค.</b> ์‹œ์ฆŒ #3(์ƒค๊ฐ€์Šค๋ณ‘)์€ <b>2026๋…„ 11์›” 30์ผ</b> ๋งˆ๊ฐ์ด๋ฉฐ ์ƒ๊ธˆ์€ ๋ฏธํ™” 1,000๋‹ฌ๋Ÿฌ์ž…๋‹ˆ๋‹ค.<br><br>์ด ๋ˆ์€ ์—ฌ๋Ÿฌ๋ถ„์ด ์“ด ์‹œ๊ฐ„๊ณผ ํ† ํฐ์— ๋Œ€ํ•œ ๋Œ€๊ฐ€๊ฐ€ ๋˜๊ธฐ์—๋Š” ํ„ฑ์—†์ด ๋ถ€์กฑํ•ฉ๋‹ˆ๋‹ค. ๊ทธ๋ ‡๊ฒŒ ๊ณ„์‚ฐํ•  ์ƒ๊ฐ๋„ ์—†์Šต๋‹ˆ๋‹ค. <b>์ด๊ฒƒ์€ โ€œ๋‹น์‹ ์ด ํ•œ ์ผ์— ๊ฐ’์ด ์žˆ์—ˆ๋‹คโ€๊ณ  ๋งํ•˜๋Š” ๋ฐฉ์‹์ž…๋‹ˆ๋‹ค.</b><br><br>์†Œ์™ธ์งˆํ™˜ ์—ฐ๊ตฌ๊ฐ€ ํž˜๋“  ์ด์œ ๋Š” ์•„๋ฌด๋„ ๊ณ ๋ง™๋‹ค๊ณ  ํ•˜์ง€ ์•Š๊ธฐ ๋•Œ๋ฌธ์ž…๋‹ˆ๋‹ค. ๋…ผ๋ฌธ๋„ ์ž˜ ์•ˆ ์‹ค๋ฆฌ๊ณ , ํˆฌ์ž๋„ ์•ˆ ๋ถ™๊ณ , ์•„๋ฌด๋„ ๋ณด์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์ด ๋Œ€ํšŒ๋Š” ์ตœ์†Œํ•œ ๋ˆ„๊ฐ€ ๋ฌด์—‡์„ ๊ธฐ์—ฌํ–ˆ๋Š”์ง€ ๊ธฐ๋ก์œผ๋กœ ๋‚จ๊ธฐ๊ณ , ์‹œ์ฆŒ๋งˆ๋‹ค ํ•œ ๋ฒˆ ๊ฐ์‚ฌ๋ฅผ ํ‘œํ•ฉ๋‹ˆ๋‹ค."
  },
  4: {
   topic:"๋น„๋งˆ์•ฝ์„ฑ ์ง„ํ†ต",
   concept:"<b>AI๊ฐ€ ๋ฐœ๊ฒฌํ•œ ๋น„๋งˆ์•ฝ์„ฑ ์ง„ํ†ต์ œ ํ›„๋ณด ๋ฌผ์งˆ</b>์˜ ๊ฒ€์ฆ ๋ฐ ํ‰๊ฐ€",
   tagline:"์–ด๋–ค AI๋กœ ์ฐพ์•„๋‚ธ ํ›„๋ณด๋“ , ๊ฐ™์€ ๊ธฐ์ค€์œผ๋กœ ๊ณ„์‚ฐ ๊ฒ€์ฆํ•˜๊ณ  ์ ์ˆ˜๋ฅผ ๋งค๊น๋‹ˆ๋‹ค. ํ‘œ์ ์€ ํ†ต์ฆ ์‹ ํ˜ธ๋ฅผ ๋‚˜๋ฅด๋Š” ๋‚˜ํŠธ๋ฅจ ์ฑ„๋„ Nav1.7์ด๋ฉฐ, ์‹ฌ์žฅ ๋ฐ•๋™์„ ์กฐ์ ˆํ•˜๋Š” hERG ์ฑ„๋„์€ ๊ฑด๋“œ๋ฆฌ์ง€ ์•Š์•„์•ผ ํ•ฉ๋‹ˆ๋‹ค.",
   why:"<b>WHO๋Š” 2023๋…„ ๋ณด๊ณ ์„œ์˜ ์ œ๋ชฉ์„ ใ€Œํ†ต์ฆ ์†์— ๋‚จ๊ฒจ์ง„ ์‚ฌ๋žŒ๋“คใ€์ด๋ผ๊ณ  ๋ถ™์˜€์Šต๋‹ˆ๋‹ค.</b><br><br>๊ฐ™์€ ์•ฝ์ด ์„ธ์ƒ์˜ ํ•œ์ชฝ์—์„œ๋Š” ๋„˜์ณ์„œ ์‚ฌ๋žŒ์„ ์ฃฝ์ด๊ณ , ๋‹ค๋ฅธ ํ•œ์ชฝ์—์„œ๋Š” ์—†์–ด์„œ ์‚ฌ๋žŒ์„ ๊ณ ํ†ต ์†์— ์ฃฝ๊ฒŒ ํ•ฉ๋‹ˆ๋‹ค.<br><br><b>๋„˜์น˜๋Š” ์ชฝ.</b> WHO ์ถ”์‚ฐ์œผ๋กœ 2019๋…„ ์•ฝ๋ฌผ๋กœ ์ธํ•œ ์‚ฌ๋ง ์•ฝ 60๋งŒ ๋ช… ๊ฐ€์šด๋ฐ 80%๊ฐ€ ์˜คํ”ผ์˜ค์ด๋“œ์™€ ๊ด€๋ จ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค. 2021๋…„ ์•ฝ 6,000๋งŒ ๋ช…์ด ์˜คํ”ผ์˜ค์ด๋“œ๋ฅผ ์‚ฌ์šฉํ–ˆ๊ณ , ์˜์กด ์น˜๋ฃŒ๊ฐ€ ํ•„์š”ํ•œ ์‚ฌ๋žŒ ์ค‘ ์‹ค์ œ๋กœ ์น˜๋ฃŒ๋ฐ›๋Š” ์‚ฌ๋žŒ์€ 10%์— ๋ฏธ์น˜์ง€ ๋ชปํ•ฉ๋‹ˆ๋‹ค.<br><br><b>์—†๋Š” ์ชฝ.</b> ๊ฐ™์€ WHO ๋ณด๊ณ ์„œ๋Š” ๊ณ ์†Œ๋“๊ตญ๊ณผ ์ €์†Œ๋“๊ตญ์˜ ๋ชจ๋ฅดํ•€ ์‚ฌ์šฉ๋Ÿ‰ ์ฐจ์ด๊ฐ€ <b>5๋ฐฐ์—์„œ 63๋ฐฐ</b>์— ์ด๋ฅธ๋‹ค๊ณ  ์ ์—ˆ์Šต๋‹ˆ๋‹ค. ๊ฐ€์žฅ ๋ถ€์œ ํ•œ 10% ๊ตญ๊ฐ€๊ฐ€ ์œ ํ†ต๋˜๋Š” ๋ชจ๋ฅดํ•€์˜ 90%๋ฅผ ์”๋‹ˆ๋‹ค. ๋‚˜๋จธ์ง€ ์‚ฌ๋žŒ๋“ค์€ ์ˆ˜์ˆ  ๋’ค์—๋„, ๋ง๊ธฐ ์•”์—๋„ ์ง„ํ†ต์ œ ์—†์ด ๊ฒฌ๋”ฅ๋‹ˆ๋‹ค.<br><br>๋‘ ๋ฌธ์ œ์˜ ๋‹ต์€ ํ•˜๋‚˜์ž…๋‹ˆ๋‹ค. <b>์˜์กด์„ฑ ์—†๋Š” ์ง„ํ†ต์ œ.</b> ๊ทธ๊ฒƒ์ด ์žˆ์œผ๋ฉด ๋„˜์น˜๋Š” ์ชฝ์€ ๋œ ์ฃฝ๊ณ , ์—†๋Š” ์ชฝ์€ ๋งˆ์•ฝ ๊ทœ์ œ์— ๋ฌถ์ด์ง€ ์•Š๊ณ  ์“ธ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.<br><br>Nav1.7์€ ๊ทธ ๋‹ต์— ๊ฐ€์žฅ ๊ฐ€๊นŒ์ด ๊ฐ„ ํ‘œ์ ์ž…๋‹ˆ๋‹ค. ์ด ์ฑ„๋„์ด ์ž‘๋™ํ•˜์ง€ ์•Š๋Š” ์œ ์ „์ž๋ฅผ ๊ฐ€์ง„ ์‚ฌ๋žŒ๋“ค์€ <b>ํ†ต์ฆ์„ ๋А๋ผ์ง€ ์•Š์œผ๋ฉด์„œ ๋‹ค๋ฅธ ๊ฐ๊ฐ์€ ์ •์ƒ</b>์ž…๋‹ˆ๋‹ค. ๋™๋ฌผ์ด ์•„๋‹ˆ๋ผ ์‚ฌ๋žŒ์ด ์ง์ ‘ ์ฆ๋ช…ํ•ด ์ค€ ํ‘œ์ ์ž…๋‹ˆ๋‹ค.<br><br>๊ทธ๋Ÿฐ๋ฐ๋„ ์•„์ง ์•ฝ์ด ์—†์Šต๋‹ˆ๋‹ค. ์–ด๋ ค์›€์€ ํ‘œ์ ์ด ์•„๋‹ˆ๋ผ <b>๊ตฌ๋ถ„</b>์— ์žˆ์Šต๋‹ˆ๋‹ค. ๋ชธ์—๋Š” ๋น„์Šทํ•œ ๋‚˜ํŠธ๋ฅจ ์ฑ„๋„์ด ์—ฌ๋Ÿฟ ์žˆ๊ณ , ์‹ฌ์žฅ์˜ hERG ์ฑ„๋„์„ ํ•จ๊ป˜ ๋ง‰์œผ๋ฉด ๋ถ€์ •๋งฅ์œผ๋กœ ์‚ฌ๋žŒ์ด ์ฃฝ์Šต๋‹ˆ๋‹ค. ์—ฌ๋Ÿฌ ํ›„๋ณด๊ฐ€ ๊ทธ ์ด์œ ๋กœ ๊ฐœ๋ฐœ์ด ์ค‘๋‹จ๋์Šต๋‹ˆ๋‹ค.<br><br>์ด ์‹œ์ฆŒ์ด ๋ฌป๋Š” ๊ฒƒ์€ ํ•˜๋‚˜์ž…๋‹ˆ๋‹ค. <b>ํ†ต์ฆ ์ฑ„๋„๋งŒ ๊ณจ๋ผ ๋ง‰์„ ์ˆ˜ ์žˆ๋Š”๊ฐ€.</b>",
   s1_p:"OpenAI ยท Claude ยท Gemini ยท Qwen ยท KIMI ยท DeepSeek ๋“ฑ ์–ด๋–ค ๋ชจ๋ธ์ด๋“ , ์–ด๋–ค ํ•˜๋„ค์Šค๋“  ์ž์œ ์ž…๋‹ˆ๋‹ค. ์ง์ ‘ ์„ค๊ณ„ํ•ด๋„ ๋ฉ๋‹ˆ๋‹ค. ํ†ต์ฆ ์‹ ํ˜ธ๋ฅผ ๋‚˜๋ฅด๋Š” ๋‚˜ํŠธ๋ฅจ ์ฑ„๋„ Nav1.7์„ ๋ง‰๋˜ ์‹ฌ์žฅ ์ฑ„๋„์€ ๊ฑด๋“œ๋ฆฌ์ง€ ์•Š๋Š” ์ €๋ถ„์ž๋ฅผ ์ฐพ์œผ์„ธ์š”.",
   ov_pf:"ํ†ต์ฆ ์ฑ„๋„", ov_hs:"์‹ฌ์žฅ ์ฑ„๋„",
   g1_lead:"ํ†ต์ฆ ์‹ ํ˜ธ๋Š” ์‹ ๊ฒฝ์—์„œ <b>๋‚˜ํŠธ๋ฅจ ์ฑ„๋„</b>์„ ํ†ตํ•ด ์ „๋‹ฌ๋ฉ๋‹ˆ๋‹ค. ๊ทธ์ค‘ <b>Nav1.7</b>์€ ํ†ต์ฆ ์‹ ๊ฒฝ์— ์ง‘์ค‘์ ์œผ๋กœ ์žˆ์–ด ์ด๊ฒƒ๋งŒ ๋ง‰์œผ๋ฉด ํ†ต์ฆ๋งŒ ์ค„์ผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋ฌธ์ œ๋Š” ๋ชธ์— ๋น„์Šทํ•œ ์ฑ„๋„์ด ์—ฌ๋Ÿฟ ์žˆ๊ณ , ํŠนํžˆ <b>์‹ฌ์žฅ ์ฑ„๋„์„ ํ•จ๊ป˜ ๋ง‰์œผ๋ฉด ์œ„ํ—˜ํ•˜๋‹ค</b>๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค.",
   g1_a:"Nav1.7 VSD4 โ€” ๋„๋ฉ”์ธ IV ์ „์••์„ผ์„œ. ์ด ๊ณ„์—ด ์ €ํ•ด์ œ๊ฐ€ ์‹ค์ œ๋กœ ๋ถ™๋Š” ์ž๋ฆฌ์ž…๋‹ˆ๋‹ค. ์ฑ„๋„ ์ „์ฒด๊ฐ€ ์•„๋‹ˆ๋ผ ์ด ๊ตฌ๊ฐ„์„ ์”๋‹ˆ๋‹ค.",
   g1_b:"hERG ๊ณต๊ทน โ€” ์‹ฌ์žฅ ์žฌ๋ถ„๊ทน์„ ๋‹ด๋‹นํ•˜๋Š” ์นผ๋ฅจ ์ฑ„๋„. ์—ฌ๊ธฐ๋ฅผ ๋ง‰์œผ๋ฉด ๋ถ€์ •๋งฅ ์œ„ํ—˜์ด ์ƒ๊น๋‹ˆ๋‹ค. ๋„ค ๊ฐœ ์†Œ๋‹จ์œ„๊ฐ€ ๋ชจ์—ฌ ์•ฝ๋ฌผ์ด ๋“ค์–ด๊ฐ€๋Š” ๊ณต๊ฐ„์„ ๋งŒ๋“ค๊ธฐ ๋•Œ๋ฌธ์— <b>4๋Ÿ‰์ฒด๋กœ</b> ๊ณ„์‚ฐํ•ฉ๋‹ˆ๋‹ค.",
   g1_c:"์ง„ํ†ต์ œ๋Š” ํ†ต์ฆ์ด ์ƒ๊ธฐ๋Š” ๊ณณ๊นŒ์ง€ ๋‹ฟ์•„์•ผ ํ•˜๋ฏ€๋กœ ๋Œ€์ฒด๋กœ ์ž‘๊ณ  ๊ฐ€๋ณ์Šต๋‹ˆ๋‹ค. ์ด ์‹œ์ฆŒ์˜ ํฌ๊ธฐ ํ•œ๋„๊ฐ€ ์ด์ „ ์‹œ์ฆŒ๋ณด๋‹ค ๋‚ฎ์€ ์ด์œ ์ž…๋‹ˆ๋‹ค.",
   cd_label:"์‹œ์ฆŒ #4 ๋งˆ๊ฐ๊นŒ์ง€", cd_over_label:"์‹œ์ฆŒ #4 ๋งˆ๊ฐ",
   prize_amt:"$1,000",
   prize_body:"๊ฐ ์‹œ์ฆŒ์ด ๋๋‚  ๋•Œ <b>์ˆœ์œ„ํ‘œ 1์œ„์—๊ฒŒ ์ƒ๊ธˆ์„ ๋“œ๋ฆฝ๋‹ˆ๋‹ค.</b> ์‹œ์ฆŒ #4(๋น„๋งˆ์•ฝ์„ฑ ์ง„ํ†ต)๋Š” <b>2027๋…„ 1์›” 31์ผ</b> ๋งˆ๊ฐ์ด๋ฉฐ ์ƒ๊ธˆ์€ ๋ฏธํ™” 1,000๋‹ฌ๋Ÿฌ์ž…๋‹ˆ๋‹ค.<br><br>์ด ๋ˆ์€ ์—ฌ๋Ÿฌ๋ถ„์ด ์“ด ์‹œ๊ฐ„๊ณผ ํ† ํฐ์— ๋Œ€ํ•œ ๋Œ€๊ฐ€๊ฐ€ ๋˜๊ธฐ์—๋Š” ํ„ฑ์—†์ด ๋ถ€์กฑํ•ฉ๋‹ˆ๋‹ค. ๊ทธ๋ ‡๊ฒŒ ๊ณ„์‚ฐํ•  ์ƒ๊ฐ๋„ ์—†์Šต๋‹ˆ๋‹ค. <b>์ด๊ฒƒ์€ โ€œ๋‹น์‹ ์ด ํ•œ ์ผ์— ๊ฐ’์ด ์žˆ์—ˆ๋‹คโ€๊ณ  ๋งํ•˜๋Š” ๋ฐฉ์‹์ž…๋‹ˆ๋‹ค.</b><br><br>ํ†ต์ฆ์€ ํ”ํ•œ ๋ฌธ์ œ์ง€๋งŒ, ์˜คํ”ผ์˜ค์ด๋“œ๋ฅผ ๋Œ€์‹ ํ•  ์•ฝ์„ ์ฐพ๋Š” ์ผ์€ ์˜ค๋ž˜ ๋ง‰ํ˜€ ์žˆ์—ˆ์Šต๋‹ˆ๋‹ค. ์ด ๋Œ€ํšŒ๋Š” ์ตœ์†Œํ•œ ๋ˆ„๊ฐ€ ๋ฌด์—‡์„ ๊ธฐ์—ฌํ–ˆ๋Š”์ง€ ๊ธฐ๋ก์œผ๋กœ ๋‚จ๊ธฐ๊ณ , ์‹œ์ฆŒ๋งˆ๋‹ค ํ•œ ๋ฒˆ ๊ฐ์‚ฌ๋ฅผ ํ‘œํ•ฉ๋‹ˆ๋‹ค."
  }
 },
 en: {
  1: {
   topic:"Malaria",
   concept:"<b>Verifying and scoring malaria drug candidates discovered by AI</b>",
   tagline:"However you found the candidate, it is checked computationally against the same rubric and scored. The target is PfDHODH, an enzyme the malaria parasite depends on; the human counterpart must be left alone.",
   s1_p:"OpenAI, Claude, Gemini, Qwen, KIMI, DeepSeek - any model, any harness, or by hand. The goal is a small molecule that blocks PfDHODH, an enzyme the malaria parasite depends on.",
   ov_pf:"parasite enzyme", ov_hs:"human enzyme",
   g1_lead:"The malaria parasite depends on an enzyme called <b>PfDHODH</b> to survive. Block it and the parasite dies. The difficulty is that humans carry an enzyme of the same family.",
   g1_a:"PfDHODH - the parasite's enzyme, which it cannot live without.",
   g1_b:"Human DHODH - same family. Blocking it is immunosuppression, not treatment.",
   cd_label:"Season #1 closes in", cd_over_label:"Season #1 closed",
   prize_amt:"$1,000",
   prize_body:"When a season closes, <b>the entry at the top of the table receives a prize.</b> Season #1 (Malaria) closes on <b>30 September 2026</b> and carries USD 1,000.<br><br>This does not come close to paying for the time and tokens you spent, and it is not meant to. <b>It is a way of saying that what you did had worth.</b><br><br>Neglected-disease work is thankless by construction: the papers are hard to place, the funding is not there, and mostly nobody looks. This challenge at least records who contributed what, and says thank you once a season."
  },
  2: {
   topic:"Tuberculosis",
   concept:"<b>Verifying and scoring tuberculosis drug candidates discovered by AI</b>",
   tagline:"However you found the candidate, it is checked computationally against the same rubric and scored. The target is InhA, the enzyme M. tuberculosis uses to build its cell wall; the human enzyme that does the same chemistry must be left alone.",
   why:"<b>Tuberculosis kills about 1.25 million people a year - more than any other single infection</b> (WHO Global TB Report 2024). Treatment exists. It also takes <b>six months of daily doses</b>, and resistant strains that shrug it off keep spreading. Patients with multidrug-resistant TB take drugs for over a year and close to half of them still are not cured.<br><br>New tuberculosis drugs are rare not because the science is stuck but because most patients are poor and there is no market. Forty years passed without a single new one before bedaquiline was approved in 2012.<br><br>Season #2 aims at that gap. <b>Bring what your AI found; it is verified computationally and ranked on the same scale as everyone else's.</b>",
   s1_p:"OpenAI, Claude, Gemini, Qwen, KIMI, DeepSeek - any model, any harness, or by hand. The goal is a small molecule that blocks InhA, an enzyme M. tuberculosis depends on.",
   ov_pf:"bacterial enzyme", ov_hs:"human enzyme",
   g1_lead:"M. tuberculosis uses an enzyme called <b>InhA</b> to build the fatty acids in its cell wall. It is what isoniazid, the front-line tuberculosis drug, actually blocks. The difficulty is that humans run the same chemistry.",
   g1_a:"InhA - the bacterium's enoyl reductase, where isoniazid and ethionamide act.",
   g1_b:"The enoyl-reductase domain of human FASN - same chemistry. Blocking it stops our own fatty-acid synthesis.",
   g1_c:"M. tuberculosis is wrapped in a waxy mycolic-acid wall, far less permeable than most bacteria, and it effluxes actively.",
   cd_label:"Season #2 closes in", cd_over_label:"Season #2 closed",
   prize_amt:"$2,000",
   prize_body:"When a season closes, <b>the entry at the top of the table receives a prize.</b> Season #2 (Tuberculosis) closes on <b>31 October 2026</b> and carries USD 2,000.<br><br>This does not come close to paying for the time and tokens you spent, and it is not meant to. <b>It is a way of saying that what you did had worth.</b><br><br>Neglected-disease work is thankless by construction: the papers are hard to place, the funding is not there, and mostly nobody looks. This challenge at least records who contributed what, and says thank you once a season."
  },
  3: {
   topic:"Chagas disease",
   concept:"<b>Verifying and scoring Chagas disease drug candidates discovered by AI</b>",
   tagline:"However you found the candidate, it is checked computationally against the same rubric and scored. The target is CYP51, the enzyme T. cruzi uses to build its membrane sterols; the human enzyme of the same name must be left alone.",
   why:"<b>Chagas disease affects around 6 million people, mostly in Latin America</b> (WHO). Many carry it for decades without symptoms while the heart or gut is slowly damaged.<br><br>There are <b>two drugs, both sixty years old</b>. Benznidazole and nifurtimox are hard enough to tolerate that many patients stop taking them, and their effect in the chronic stage is uncertain.<br><br>No new drug has arrived, not because the science is stuck but because the patients are poor and there is no market. It is the archetype of a WHO neglected tropical disease.",
   s1_p:"OpenAI, Claude, Gemini, Qwen, KIMI, DeepSeek - any model, any harness, or by hand. The goal is a small molecule that blocks CYP51, an enzyme T. cruzi depends on.",
   ov_pf:"parasite enzyme", ov_hs:"human enzyme",
   g1_lead:"T. cruzi uses an enzyme called <b>CYP51</b> to make the sterols its membranes need. Block it and the parasite cannot survive. The difficulty is that humans carry <b>an enzyme of the same name doing the same job</b>.",
   g1_a:"T. cruzi CYP51 - the parasite's sterol 14a-demethylase, where the azole drugs act.",
   g1_b:"Human CYP51A1 - the same enzyme. Azole antifungal side effects come from inhibiting it.",
   g1_c:"The parasite persists inside host cells as an amastigote, most importantly in cardiac muscle. Your compound has to cross the host cell membrane and then the parasite's.",
   cd_label:"Season #3 closes in", cd_over_label:"Season #3 closed",
   prize_amt:"$1,000",
   prize_body:"When a season closes, <b>the entry at the top of the table receives a prize.</b> Season #3 (Chagas disease) closes on <b>30 November 2026</b> and carries USD 1,000.<br><br>This does not come close to paying for the time and tokens you spent, and it is not meant to. <b>It is a way of saying that what you did had worth.</b><br><br>Neglected-disease work is thankless by construction: the papers are hard to place, the funding is not there, and mostly nobody looks. This challenge at least records who contributed what, and says thank you once a season."
  },
  4: {
   topic:"Non-opioid analgesia",
   concept:"<b>Verifying and scoring non-opioid analgesic candidates discovered by AI</b>",
   tagline:"However you found the candidate, it is checked computationally against the same rubric and scored. The target is Nav1.7, the sodium channel that carries pain signals; the cardiac hERG channel must be left alone.",
   why:"<b>WHO titled its 2023 report <i>Left behind in pain</i>.</b><br><br>The same class of drug kills people where it is abundant and leaves people to die in pain where it is absent.<br><br><b>Where there is too much.</b> WHO estimates that of roughly 600,000 deaths attributable to drug use in 2019, about 80% involved opioids. Around 60 million people used opioids in 2021, and fewer than one in ten of those who need treatment for dependence receive it.<br><br><b>Where there is none.</b> The same WHO report records a <b>5- to 63-fold</b> difference in morphine consumption between high-income and lower-income countries. The wealthiest 10% of countries account for 90% of the morphine distributed. Everyone else goes without - after surgery, and in terminal cancer.<br><br>Both problems have one answer. <b>An analgesic that does not create dependence.</b> Where there is excess, fewer people die; where there is none, it can be supplied without narcotic control.<br><br>Nav1.7 is the closest thing to that answer. People carrying loss-of-function variants of this channel <b>feel no pain while their other senses stay intact</b> - a target validated in humans rather than in animals.<br><br>And yet there is still no drug. The difficulty is not the target but <b>telling it apart</b>. The body carries several similar sodium channels, and a compound that also blocks the cardiac hERG channel can kill by arrhythmia. Several programmes stopped for exactly that reason.<br><br>This season asks one question. <b>Can you block the pain channel and only the pain channel?</b>",
   s1_p:"OpenAI, Claude, Gemini, Qwen, KIMI, DeepSeek - any model, any harness, or by hand. The goal is a small molecule that blocks Nav1.7, the sodium channel carrying pain signals, while leaving the cardiac channel alone.",
   ov_pf:"pain channel", ov_hs:"cardiac channel",
   g1_lead:"Pain signals travel along nerves through <b>sodium channels</b>. <b>Nav1.7</b> sits mainly in pain-sensing neurons, so blocking it should reduce pain and little else. The difficulty is that several similar channels exist, and <b>blocking the cardiac one is dangerous</b>.",
   g1_a:"Nav1.7 VSD4 - the domain IV voltage sensor, where this inhibitor class actually binds. The season docks this domain rather than the whole channel.",
   g1_b:"hERG pore - the potassium channel behind cardiac repolarisation. Blocking it carries arrhythmia risk. Four subunits together form the cavity a drug occupies, so it is modelled as a <b>tetramer</b>.",
   g1_c:"An analgesic has to reach where the pain is, so this chemistry runs small and light. That is why this season's size limits are lower than earlier ones.",
   cd_label:"Season #4 closes in", cd_over_label:"Season #4 closed",
   prize_amt:"$1,000",
   prize_body:"When a season closes, <b>the entry at the top of the table receives a prize.</b> Season #4 (Non-opioid analgesia) closes on <b>31 January 2027</b> and carries USD 1,000.<br><br>It is nowhere near payment for the time and tokens you spent, and it is not meant as payment. <b>It is a way of saying the work was worth something.</b><br><br>Pain is ordinary, but finding something to put in place of opioids has been stuck for a long time. This contest at least records who contributed what, and says thank you once a season."
  }
 }
};

// season copy wins over the shared strings; anything a season does not override is shared
function t(){ return Object.assign({}, T[LANG], (ST[LANG] || {})[SEASON] || {}); }

const submittedDate = e => {
  if(e.is_anchor || !e.submitted_at) return "โ€“";
  const locale = LANG === "ko" ? "ko-KR" : "en-CA";
  return new Intl.DateTimeFormat(locale, {
    timeZone:"Asia/Seoul", year:"numeric", month:"2-digit", day:"2-digit"
  }).format(new Date(Number(e.submitted_at) * 1000));
};

// Seasons can carry an intro clip. It is written into the page only for the season it
// belongs to - emptied rather than hidden - so a reader on another season never fetches
// the file. Muted and inline because autoplay with sound is blocked everywhere; the clip
// has no audio track, so nothing is lost.
const SEASON_INTRO = {2: "assets/season2-intro.mp4"};

function renderIntro(){
  const src = SEASON_INTRO[SEASON], box = $("#intro");
  // clearing the marker as well as the markup: leaving it set made a return to this
  // season look like "already playing" and the slot stayed empty
  if(!src){ box.innerHTML = ""; delete box.dataset.src; return; }
  const cred = t().intro_credit || "";
  if(box.dataset.src === src && box.querySelector("video")){
    // the clip is already playing; only the wording can have changed, and rewriting the
    // whole block would restart the video every time the language is switched
    const c = box.querySelector(".credit");
    if(c) c.textContent = cred;
    return;
  }
  box.dataset.src = src;
  box.innerHTML = `<video src="${src}" autoplay loop muted playsinline preload="metadata"></video>`
    + (cred ? `<div class="credit">${cred}</div>` : "");
}

// Cumulative submissions per season. Its own timer, ten minutes apart: the board itself
// reloads every twenty seconds and this number does not move that fast.
let TALLY = null;

async function loadTally(){
  if(!SEASONS) return;
  try{
    const rs = await Promise.all(SEASONS.map(x =>
      fetch("api/queue?season=" + x.number).then(r => r.json())));
    TALLY = SEASONS.map((x, i) => ({n: x.number, total: rs[i].total}))
                   .sort((a, b) => b.n - a.n);
    renderTally();
  }catch(_){ /* leave the previous figure up rather than blanking it */ }
}

function renderTally(){
  if(!TALLY) return;
  const d = t();
  $("#tally").innerHTML = TALLY.map(x =>
    `<div class="t"><b>${x.total.toLocaleString()}</b>`
    + `<span>#${x.n} ${d.tally_label}</span></div>`).join("");
}

function renderSeasonBar(){
  if(!SEASONS) return;
  const d = t();
  // newest season first: the one people are entering now should be the one they reach first
  $("#seasonbar").innerHTML = SEASONS.slice().sort((a,b)=>b.number-a.number).map(s => {
    const nm = (ST[LANG] && ST[LANG][s.number] && ST[LANG][s.number].topic) || s.topic;
    // a season that is not taking entries says so on the button, so nobody clicks
    // through and writes out a molecule before finding out
    const tag = s.open ? "" : `<span class="st">${d.season_soon}</span>`;
    return `<button data-season="${s.number}" class="${s.number===SEASON?"on":""}">`
         + `#${s.number} ${nm}${tag}</button>`;
  }).join("");
  document.querySelectorAll("#seasonbar button").forEach(b =>
    b.onclick = () => setSeason(parseInt(b.dataset.season,10)));
}

function setSeason(n){
  if(n === SEASON) return;
  SEASON = n;
  page = 0;              // a new season starts at its own first page
  localStorage.setItem("odc_season", String(n));
  // the season belongs in the URL: a link to a season should open on that season
  const u = new URL(location.href); u.searchParams.set("season", String(n));
  history.replaceState(null, "", u);
  DATA = null; MODELS = {models:[],totals:{models:0,submissions:0}};
  $("#rows").innerHTML = "";
  applyLang(); load();
}

function applyLang(){
  const d = t();
  document.documentElement.lang = LANG;
  { const x = $("#xlink"); if(x && d.xlink) x.innerHTML = d.xlink;
    const x2 = $("#xlink2"); if(x2 && d.xlink2) x2.innerHTML = d.xlink2; }
  document.querySelectorAll("[data-i18n]").forEach(el=>{
    const v = d[el.dataset.i18n]; if(v) el.textContent = v;
  });
  $("#concept").innerHTML = d.concept;
  ["ge_lead","ge_proof","ge_caveat"].forEach(k => { const el=$("#"+k); if(el) el.innerHTML = d[k]; });
  ["ge_p_list","ge_c_list"].forEach(k => { const el=$("#"+k);
    if(el) el.innerHTML = (d[k]||[]).map(x => `<li>${x}</li>`).join(""); });
  const gb = $("#ge_boards");
  if(gb) gb.innerHTML = BOARDS.map(b => `<span>${b}</span>`).join("");
  // the rubric and the size cap are stated by the page but owned by the scorer, so they
  // are substituted from the season rather than written into the copy pack. Two of the
  // three seasons were showing season 1's numbers before this.
  ["g1_lead","g2_lead","g3_lead","g4_lead"].forEach(k => { const el=$("#"+k); if(el) el.innerHTML = fillFacts(d[k]); });
  renderPrompts(); renderFails();
  $("#prize_body").innerHTML = d.prize_body;
  $("#prize_fine").innerHTML = d.prize_fine;
  $("#own_keep").innerHTML = d.own_keep;
  $("#own_body").innerHTML = d.own_body;
  $("#own_warn").innerHTML = d.own_warn;
  $("#why").innerHTML = d.why;
  $("#boardnote").innerHTML = d.boardnote;
  $("#formnote").innerHTML = d.formnote + (d.daily_cap ? "<br><b>" + d.daily_cap + "</b>" : "");
  $("#display_name").placeholder = LANG==="ko" ? "๊ณต๊ฐœ ์ˆœ์œ„ํ‘œ์— ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค" : "shown on the public table";
  $("#rationale").placeholder = LANG==="ko" ? "์™œ ์ด ๊ตฌ์กฐ์ธ์ง€ ๊ฐ„๋‹จํžˆ" : "why this structure, briefly";
  document.querySelectorAll("#langbar button").forEach(b=>b.classList.toggle("on", b.dataset.lang===LANG));
  $("#langnote").textContent = LANG_AUTO ? d.auto : d.manual;
  const si = seasonInfo();
  if(si){
    $("#seasonhead").innerHTML = `#${si.number} &nbsp;<em>${d.topic}</em>`;
    document.title = `Open Discovery Challenge #${si.number} ${d.topic}`;
  }
  if(d.prize_amt) $("#prize_amt").firstChild.nodeValue = d.prize_amt + " ";
  // ๋ˆ„์  ์ด ์ƒ๊ธˆ์€ ์‹œ์ฆŒ ๋ชฉ๋ก์—์„œ ๋”ํ•œ๋‹ค. ์†์œผ๋กœ ์ ์œผ๋ฉด ์‹œ์ฆŒ์ด ํ•˜๋‚˜ ๋Š˜ ๋•Œ๋งˆ๋‹ค ํ‹€๋ฆฐ๋‹ค -
  // ๋ถ€๋ฌธ ํ•œ๋„๋ฅผ ์‚ฐ๋ฌธ์œผ๋กœ ์ ์—ˆ๋‹ค๊ฐ€ 550 ์ด 750 ์ด ๋œ ๋’ค์—๋„ ๊ทธ๋Œ€๋กœ ๋‚จ์•„ ์žˆ๋˜ ์ ์ด ์žˆ๋‹ค.
  { const el = $("#prize_total");
    if(el && SEASONS){
      const tot = SEASONS.reduce((a,s)=>a+(s.prize_usd||0),0);
      el.textContent = d.prize_total_label
        ? d.prize_total_label(tot.toLocaleString(), SEASONS.length) : "";
    } }
  renderSeasonBar();
  renderIntro();
  renderTally();
  renderAuth();
  tickCountdown();
  if(DATA) render();
  renderModels(MODELS);
}
function setLang(l, auto){ LANG = (l==="ko")?"ko":"en"; if(!auto) LANG_AUTO=false; applyLang(); }
document.querySelectorAll("#langbar button").forEach(b=>b.onclick=()=>setLang(b.dataset.lang,false));

function sortVal(e, k){
  if(k==="rank")  return e.rank ?? 1e9;              // unranked rows sink when sorting by rank
  if(k==="cand")  return String(e.candidate_id||"").toLowerCase();
  if(k==="user")  return String(e.hf_user||e.display_name||"").toLowerCase();
  if(k==="who")   return String(e.model_name||"").toLowerCase();
  if(k==="date")  return e.submitted_at ?? 0;
  if(k==="total") return e.total ?? -1;
  return (e.axes||{})[k] ?? -1;
}

function esc(s){
  return String(s ?? "").replace(/[&<>"']/g, c=>({
    "&":"&amp;", "<":"&lt;", ">":"&gt;", '"':"&quot;", "'":"&#39;"
  })[c]);
}

function hfProfile(user){
  if(!user) return "";
  const label = esc(user);
  const url = `https://huggingface.co/${encodeURIComponent(user)}`;
  return `<a class="hf-user" href="${url}" target="_blank" rel="noopener noreferrer"`
       + ` title="Hugging Face: ${label}">๐Ÿค— ${label}</a>`;
}

function renderPager(total, pages){
  const host = $("#pager"), d = t();
  if(pages <= 1){ host.innerHTML = ""; return; }
  const from = page * PAGE_SIZE + 1;
  const to   = Math.min(total, (page + 1) * PAGE_SIZE);

  // Every page number, once there are few enough to read; otherwise the ends, the
  // current neighbourhood, and gaps for the rest.
  let nums = [];
  if(pages <= 9){ for(let i=0;i<pages;i++) nums.push(i); }
  else {
    const near = [page-1, page, page+1].filter(i => i>0 && i<pages-1);
    nums = [0, ...near, pages-1];
    nums = [...new Set(nums)].sort((a,b)=>a-b);
  }
  let out = `<button ${page===0?"disabled":""} data-p="${page-1}">โ€น</button>`;
  let prev = -1;
  for(const i of nums){
    if(i - prev > 1) out += `<span class="gap">โ€ฆ</span>`;
    out += `<button class="${i===page?"on":""}" data-p="${i}">${i+1}</button>`;
    prev = i;
  }
  out += `<button ${page>=pages-1?"disabled":""} data-p="${page+1}">โ€บ</button>`;
  out += `<span class="pinfo">${d.prange(from, to, total)}</span>`;
  host.innerHTML = out;

  host.querySelectorAll("button[data-p]").forEach(b => b.onclick = () => {
    if(b.disabled) return;
    page = parseInt(b.dataset.p, 10);
    render();
    // Land at the top of the table, not wherever the previous page left the scroll.
    const c = document.querySelector(".card .scroll");
    if(c) window.scrollTo({top: c.getBoundingClientRect().top + window.scrollY - 80,
                           behavior: "smooth"});
  });
}

function render(){
  const d = t(), W = DATA.season.weights, max = Math.max(1, ...DATA.entries.map(e=>e.total||0));
  $("#wts").innerHTML = Object.entries(W)
    .map(([k,v])=>`<span>${(d.ov_axes[k]||k)} <b>${v}</b></span>`).join("");
  $("#counts").textContent = d.counts(DATA.counts.scored, DATA.counts.anchors);

  $("#head").innerHTML = COLS.map(k=>{
    const on = sortKey===k;
    const ar = on ? (sortDir<0 ? "โ–ผ" : "โ–ฒ") : "โ–พ";
    return `<th data-k="${k}" class="${on?"sorted":""}">${d.cols[k]}<span class="ar">${ar}</span></th>`;
  }).join("");
  document.querySelectorAll("#head th").forEach(th=>th.onclick=()=>{
    const k = th.dataset.k;
    if(sortKey===k) sortDir = -sortDir;
    else { sortKey = k; sortDir = (k==="rank"||k==="cand"||k==="who") ? 1 : -1; }
    page = 0;                       // a new sort means a different first page
    render();
  });

  const all = DATA.entries.slice().sort((a,b)=>{
    // ๊ฐ•๋“ฑ ํ•ญ๋ชฉ์€ ์ˆœ์œ„์—์„œ ๋น ์กŒ๋Š”๋ฐ ์ด์ ์ด ๋†’์œผ๋ฉด 1์œ„ ์œ„์— ๋–ด๋‹ค. ์ˆœ์œ„์นธ์ด "โ€”" ์—ฌ๋„
    // ๋งจ ์œ—์ค„์„ ์ตœ๊ณ ์ ์œผ๋กœ ์ฝ๊ฒŒ ๋œ๋‹ค. ์ ์ˆ˜์™€ ๋“ฑ์ˆ˜๋Š” ๊ทธ๋Œ€๋กœ ๋‘๊ณ  ์ž๋ฆฌ๋งŒ ์ˆœ์œ„๊ถŒ ์•„๋ž˜๋กœ
    // ๋‚ด๋ฆฐ๋‹ค. ๊ธฐ์ค€๋ฌผ์งˆ์€ ๋‚ด๋ฆฌ์ง€ ์•Š๋Š”๋‹ค - ์Šน์ธ์•ฝ ๋Œ€๋น„ ์œ„์น˜๋ฅผ ๋ณด๋ผ๊ณ  ์„ž์–ด ๋‘” ๊ฒƒ์ด๋‹ค.
    const ra = a.tier===2, rb = b.tier===2;
    if(ra !== rb) return ra ? 1 : -1;
    const x = sortVal(a,sortKey), y = sortVal(b,sortKey);
    if(x<y) return -sortDir; if(x>y) return sortDir; return 0;
  });

  // Clamp before slicing: switching to a shorter season while deep in the pages of a
  // longer one would otherwise land on an empty table.
  const pages = Math.max(1, Math.ceil(all.length / PAGE_SIZE));
  if(page >= pages) page = pages - 1;
  if(page < 0) page = 0;
  const from = page * PAGE_SIZE;
  const rows = all.slice(from, from + PAGE_SIZE);
  renderPager(all.length, pages);

  $("#rows").innerHTML = rows.length ? rows.map(e=>{
    const a = e.axes||{};
    const cls = [e.is_anchor?"anchor":"", e.tier===2?"tier2":""].join(" ").trim();
    const _who = e.hf_user || e.display_name || "";
    const user = e.is_anchor ? '<span class="who">\u2014</span>'
      : (e.hf_user ? hfProfile(e.hf_user)
        : `<span title="${esc(_who)}">${esc(e.display_name||"\u2013")}</span>`);
    const _m = e.is_anchor ? (anchorNote(e) || d.ref) : (e.model_name || "\u2013");
    const who = `<span class="who" title="${esc(_m)}">${esc(_m)}</span>`;
    // the structure is the name now; a withheld one shows its ends, middle blanked.
    // Only a published structure gets a copy button - there is nothing to copy otherwise.
    const isPub = e.visibility === "public" && !!e.smiles;
    const shown = isPub ? e.smiles : e.smiles_masked;
    const clip = shown ? (shown.length > 26 ? shown.slice(0, 26) + "\u2026" : shown) : "";
    const id = e.is_anchor ? `<b>${e.candidate_id}</b>`
      : (shown
          ? `<span class="smiwrap"><span class="smi2" title="${shown}">${clip}</span>`
            + (isPub ? `<button class="d3" data-smi="${e.smiles}" title="${d.view_3d}">3D</button>`
                     + `<button class="cp" data-smi="${e.smiles}" title="${d.copy_smiles}">\u29c9</button>` : "")
            + `</span>`
          : `<span class="cid">${e.candidate_id}</span>`);
    const tag = e.is_anchor ? `<span class="tag a">${d.anchor}</span>`
              : (e.tier===2 ? `<span class="tag r">${d.relegated}</span>` : "");
    // ๋ฐ˜์‘์„ฑ ๊ฒฝ๋ณด. ํŒ๊ฒฐ์ด ์•„๋‹ˆ๋ผ ์‚ฌ์‹ค์ด๋ฏ€๋กœ ๋“ฑ์ˆ˜๋ฅผ ๊นŽ์ง€ ์•Š๊ณ  ์˜†์— ์ ๊ธฐ๋งŒ ํ•œ๋‹ค.
    const alr = (e.alerts && e.alerts.length)
      ? `<span class="tag w" title="${e.alerts.join(", ")}">${d.reactive}</span>` : "";
    // ์ด์  ์˜†์˜ ยฑ. ์žฐ ๊ฐ’์—๋Š” ํญ์ด ์žˆ๊ณ , ๊ทธ ํญ์„ ๊ฐ์ถ”๋ฉด ์ˆœ์œ„๊ฐ€ ์‹ค์ œ๋ณด๋‹ค ํ™•์‹คํ•ด ๋ณด์ธ๋‹ค.
    const sdTxt = (e.total_sd!=null && e.total_sd>0) ? `<span class="sd">ยฑ${f1(e.total_sd)}</span>` : "";
    const rk = e.rank==null ? "โ€”"
      : `#${e.rank}<span class="rkscore">${f3(e.total)}${LANG==="ko"?"์ ":" pts"}${sdTxt}</span>`;
    return `<tr class="${cls}">
      <td class="rk ${e.rank===1?"top":""}">${rk}</td>
      <td>${id}${tag}${alr}</td><td>${user}</td><td>${who}</td><td>${submittedDate(e)}</td>
      ${AX.map(k=>`<td>${f1(a[k])}</td>`).join("")}
      <td><div class="barwrap"><span class="bar"><i style="width:${Math.max(2,(e.total||0)/max*100)}%"></i></span>
        <span class="tot">${f3(e.total)}</span></div></td></tr>`;
  }).join("") : `<tr><td colspan="12" class="who">${d.empty}</td></tr>`;

  wireCopy($("#rows"));
  wire3D($("#rows"));

  // rows carry their entry so the overlay never has to look anything up again
  [...document.querySelectorAll("#rows tr")].forEach((tr, i) => {
    const e = rows[i];
    if(!e) return;
    tr.onmouseenter = () => { clearTimeout(OV._t); showOverlay(e, tr.getBoundingClientRect()); };
    // a short grace period, so moving the pointer into the panel does not dismiss it
    tr.onmouseleave = () => { OV._t = setTimeout(hideOverlay, 220); };
    // touch has no hover, so a tap toggles it
    tr.onclick = () => (OV.style.display === "block" && OV.dataset.id === e.candidate_id)
      ? hideOverlay()
      : (OV.dataset.id = e.candidate_id, showOverlay(e, tr.getBoundingClientRect()));
  });
}

let ME = {signed_in:false, oauth_configured:false};
let MODELS = {models:[], totals:{models:0, submissions:0}};

function seasonClosed(){
  const si = seasonInfo();
  return si ? !si.open : false;
}

function renderAuth(){
  const d = t(), bar = $("#authbar"), gate = $("#gate"), go = $("#go");
  if(seasonClosed()){
    // the server refuses these posts anyway; saying so here saves someone writing out an
    // entry and being turned away after
    bar.innerHTML = "";
    gate.innerHTML = `<div class="lock">\u{1F6A7} ${d.season_notopen}</div>`;
    go.disabled = true;
    return;
  }
  if(ME.signed_in){
    const u = ME.user || {};
    bar.innerHTML = '<span class="u">' + (u.picture ? `<img src="${u.picture}" alt="">` : "")
      + (u.name||"") + `<a href="logout">${d.signout}</a></span>`;
    gate.style.display = "none"; go.disabled = false;
  }else{
    bar.innerHTML = `<a class="hfbtn" href="login">\u{1F917} ${d.signin}</a>`;
    // when OAuth is not configured (a local run) the form stays usable so the rest of
    // the flow can still be exercised
    const need = ME.oauth_configured;
    gate.style.display = need ? "block" : "none";
    gate.innerHTML = need ? d.gate + `<a class="hfbtn" href="login">\u{1F917} ${d.signin}</a>` : "";
    go.disabled = need;
  }
}

function renderModels(m){
  const d = t();
  $("#mcounts").textContent = d.mcounts(m.totals.models, m.totals.submissions);
  $("#chart_sub").innerHTML = d.chart_sub;
  $("#legend").innerHTML =
    `<span><i style="background:linear-gradient(90deg,#0f7b6c,#2aa694)"></i>${d.lg_best}</span>`
  + `<span><i style="background:#123;width:3px;height:12px;border-radius:1px"></i>${d.lg_mean}</span>`
  + `<span><i style="background:#9db4d6"></i>${d.lg_use}</span>`;
  if(!m.models.length){ $("#models").innerHTML = `<p class="who">${d.chart_empty}</p>`; return; }
  const maxScore = Math.max(1, ...m.models.map(x=>x.best||0));
  const maxUse   = Math.max(1, ...m.models.map(x=>x.submissions||0));
  $("#models").innerHTML = m.models.map(x=>
    '<div class="mrow">'
    + `<div class="mname"${(x.spellings&&x.spellings.length>1)?` title="${esc(x.spellings.join(" ยท "))}"`:""}>`
    +   `${esc(x.model)}${(x.spellings&&x.spellings.length>1)?` <b class="mmerge">+${x.spellings.length-1}</b>`:""}`
    +   `<span>${x.entrants} ${d.entrants}</span></div>`
    + '<div class="mtrack">'
    +   `<div class="best" style="width:${Math.max(4,(x.best||0)/maxScore*100)}%"></div>`
    +   (x.mean!=null ? `<div class="mean" style="left:${Math.max(1,x.mean/maxScore*100)}%"></div>` : "")
    +   `<div class="lab">${f3(x.best)}</div>`
    + '</div>'
    + '<div class="muse">'
    +   `<span class="ub" style="width:${Math.max(3,(x.submissions/maxUse)*74)}px"></span>`
    +   `<span class="un">${x.submissions}</span>`
    + '</div></div>').join("");
}

// The guide is per season, and it was not until 2026-08-19. PROMPTS was written for
// season 1 and every later season served it unchanged, so an entrant on the Chagas
// board pressed Copy and was handed a prompt beginning "You are designing
// small-molecule inhibitors of PfDHODH ... for an open antimalarial challenge". The
// point values in the subtitles were season 1's too. Nothing about the rubric moved
// here; the instructions were simply describing a different disease.
//
// Prompt E is shared on purpose - reading your own axis scores back into the next
// design is the same exercise whichever disease you are working on.
const PROMPTS_BY_SEASON = {
 1: [{id:"A", ko:["๊ธฐ๋ณธํ˜•","์ฒ˜์Œ ์‹œ์ž‘ํ•œ๋‹ค๋ฉด ์ด๊ฒƒ๋ถ€ํ„ฐ"], en:["Starter","Begin here"],
   body:`You are designing small-molecule inhibitors of PfDHODH, the dihydroorotate
dehydrogenase of Plasmodium falciparum, for an open antimalarial challenge.

Requirements:
- The compound must inhibit the PARASITE enzyme and NOT the human DHODH. The human
  enzyme is homologous; inhibiting it causes immunosuppression rather than a cure.
- It has to kill the parasite in a whole cell, which means crossing a red blood cell
  membrane and then the parasite membrane before the target is reachable.
- Molecular weight under 500. No PAINS motifs. No covalent warheads. Synthesisable.

Propose 8 candidates as a JSON array:
[{"smiles":"...","name":"...","rationale":"why this should be selective for the
parasite enzyme and reach it in a cell"}]

<em>VARY THIS: state a chemotype you are interested in, or a constraint of your own, so
your set does not collide with other entrants. Identical submissions are rejected.</em>`},

  {id:"B", ko:["์„ ํƒ์„ฑ ์ง‘์ค‘","์‚ฌ๋žŒ ํšจ์†Œ๋ฅผ ํ”ผํ•˜๋Š” ์„ค๊ณ„ (20์ )"], en:["Selectivity","Avoid the human enzyme (20 pts)"],
   body:`Design PfDHODH inhibitors with a deliberate selectivity argument against human
DHODH.

Context you should reason from:
- Teriflunomide and brequinar inhibit the HUMAN enzyme. They are the failure mode here,
  not the template.
- The inhibitor-binding site of the parasite enzyme differs from the human one in
  residue composition and shape. Design into that difference on purpose and say which
  difference you are exploiting.
- A molecule that binds neither enzyme is trivially "selective" and worthless. Potency
  against the parasite enzyme is a precondition, not a trade-off.

For each candidate, state explicitly: which feature you expect the human enzyme to
tolerate poorly, and why.

Propose 8 candidates as JSON: [{"smiles","name","rationale"}]

<em>VARY THIS: pick one specific selectivity hypothesis and build the whole set around
it, rather than eight unrelated guesses.</em>`},

  {id:"C", ko:["์‹ ๊ทœ ๊ณจ๊ฒฉ","๊ฐ€์žฅ ํฐ ์ ์ˆ˜ ์—ฌ์ง€ (์‹ ๊ทœ์„ฑ 10์ )"], en:["Novel scaffold","Where the headroom is (10 pts)"],
   body:`Design PfDHODH inhibitors on scaffolds that do NOT appear in the antimalarial
literature.

Why this matters for scoring: novelty is measured as structural distance from known
antimalarial chemical space, and it is MULTIPLIED by how potent the molecule is.
- A novel but inactive molecule earns nothing.
- A potent analogue of a known drug also earns nothing - the reference compound itself
  scores zero on novelty, and an analogue inherits that.
- The points are only available to something both new and real.

Explicitly avoid: DSM265 and other triazolopyrimidines, Genz-667348, and published
PfDHODH inhibitor series. Do not decorate a known core - change the core.

Propose 8 candidates on eight DIFFERENT cores, as JSON:
[{"smiles","name","rationale":"why this core is unexplored here and why it should still
bind"}]

<em>VARY THIS: name two or three ring systems you want explored, so your set is yours.</em>`},

  {id:"D", ko:["์ „์„ธํฌ ํˆฌ๊ณผ","์ด์ค‘๋ง‰์„ ํ†ต๊ณผํ•ด์•ผ ํ•œ๋‹ค (30์ )"], en:["Whole-cell","Two membranes to cross (30 pts)"],
   body:`Design PfDHODH inhibitors optimised for actually killing the parasite in an
infected red blood cell, not just for binding the isolated enzyme.

The compound must cross the erythrocyte membrane and then the parasite membrane before
the target matters. Enzyme affinity that never reaches the enzyme scores nothing.

Reason explicitly about, for each candidate:
- lipophilicity and polar surface area in a range compatible with passive permeability
- the number of hydrogen-bond donors, and whether it is low enough
- ionisation at the pH of the parasite's compartments
- metabolic stability - the compound must survive long enough to matter

Propose 8 candidates as JSON: [{"smiles","name","rationale":"the permeability argument,
not only the binding argument"}]

<em>VARY THIS: fix your own target property window before generating, and hold the set
to it.</em>`},

  {id:"E", ko:["์ ์ˆ˜ ๋˜๋จน์ด๊ธฐ","๋ฐ›์€ ๊ฒฐ๊ณผ๋กœ ๋‹ค์Œ ํŒ์„ ์„ค๊ณ„"], en:["Iterate","Feed your score back in"],
   body:`Here is how my previous candidate was scored on this challenge. Improve on it.

PASTE YOUR RESULT HERE - hover your row on the leaderboard and copy the numbers:
  candidate id, total, and the six axis scores with their stated reasons
  (predicted potency against each enzyme, the selectivity ratio, the nearest known
  compound, the synthesis difficulty)

Diagnose which axis is costing the most, then propose 8 revised candidates that attack
that axis specifically, while not giving back what already scored well.

Be honest about trade-offs: if improving selectivity is likely to cost whole-cell
activity, say so and show both options.

JSON: [{"smiles","name","rationale":"which axis this targets and what it trades"}]

<em>VARY THIS: your own scores make this prompt unique - no two entrants have the
same starting point.</em>`},
 ],
 2: [
  {id:"A", ko:["๊ธฐ๋ณธํ˜•","์ฒ˜์Œ ์‹œ์ž‘ํ•œ๋‹ค๋ฉด ์ด๊ฒƒ๋ถ€ํ„ฐ"], en:["Starter","Begin here"],
   body:`You are designing small-molecule inhibitors of InhA, the enoyl-ACP reductase of
Mycobacterium tuberculosis, for an open tuberculosis challenge.

Requirements:
- The compound must inhibit the BACTERIAL enzyme and NOT the enoyl-reductase domain of
  human fatty acid synthase. The human enzyme runs the same chemistry; inhibiting it
  stops our own fatty-acid synthesis.
- InhA works as a complex with NAD. Inhibitors that stack against the bound cofactor are
  a well-trodden route.
- It has to work in a whole cell. M. tuberculosis has an unusually thick, waxy cell wall,
  so permeability is a harder constraint here than in most bacteria.
- Do NOT submit a prodrug. Isoniazid is inactive until the bacterium's own KatG converts
  it; we score the molecule you submit, not what it might become.
- Molecular weight under 550. No PAINS motifs. Synthesisable.

Propose 8 candidates as a JSON array:
[{"smiles":"...","name":"...","rationale":"why this should be selective for the
bacterial enzyme and reach it through the mycobacterial cell wall"}]

<em>VARY THIS: state a chemotype you are interested in, or a constraint of your own, so
your set does not collide with other entrants. Identical submissions are rejected.</em>`},
  {id:"B", ko:["์„ ํƒ์„ฑ ์ง‘์ค‘","์‚ฌ๋žŒ ํšจ์†Œ๋ฅผ ํ”ผํ•˜๋Š” ์„ค๊ณ„ (25์ )"], en:["Selectivity","Avoid the human enzyme (25 pts)"],
   body:`Design InhA inhibitors with a deliberate selectivity argument against the enoyl-reductase
domain of human fatty acid synthase.

Context you should reason from:
- Both enzymes reduce an enoyl thioester using NAD(P)H. The chemistry is shared; the
  surroundings are not.
- InhA accepts very long-chain (C16-C24) substrates and has a correspondingly large,
  hydrophobic substrate-binding loop. Human FASN handles shorter chains. Design into that
  difference on purpose and say which difference you are exploiting.
- A molecule that binds neither enzyme is trivially "selective" and worthless. Potency
  against InhA is scored separately and selectivity is scaled by it.

Return 8 candidates as JSON with a "selectivity_rationale" field naming the specific
structural feature you are exploiting.`},
  {id:"C", ko:["์‹ ๊ทœ ๊ณจ๊ฒฉ","๊ฐ€์žฅ ํฐ ์ ์ˆ˜ ์—ฌ์ง€ (์‹ ๊ทœ์„ฑ 10์ )"], en:["Novel scaffold","Where the headroom is (10 pts)"],
   body:`Propose InhA inhibitors on scaffolds that are NOT represented among known
anti-tubercular chemistry.

Explicitly avoid: isoniazid-like hydrazides, thioamides (ethionamide, prothionamide),
diarylquinolines, nitroimidazoles, oxazolidinones (linezolid-like) and fluoroquinolones.

Novelty is scored as distance from known anti-tubercular chemical space, and it is
MULTIPLIED by potency - a novel molecule that does nothing scores zero on that axis. So
the target is a genuinely new scaffold that still makes a credible binding argument
against the InhA-NAD complex.

Return 8 candidates as JSON, each with the scaffold class named and one sentence on why
it can still engage the site.`},
  {id:"D", ko:["์ „์„ธํฌ ํ™œ์„ฑ","๋ฐ€๋ž ์„ธํฌ๋ฒฝ์„ ํ†ต๊ณผํ•ด์•ผ ํ•œ๋‹ค (20์ )"], en:["Whole-cell","Through a waxy wall (20 pts)"],
   body:`Design InhA inhibitors with mycobacterial cell entry as the primary constraint.

What makes this hard:
- The mycobacterial envelope is a thick mycolic-acid layer, far less permeable than a
  typical Gram-negative outer membrane. Many potent enzyme inhibitors fail entirely at
  the whole-cell step.
- Efflux is active in M. tuberculosis and removes many otherwise good compounds.
- Compounds are scored on whole-cell growth inhibition as well as on binding, so an
  inhibitor that cannot get in is scored as what it is.

Return 8 candidates as JSON with a "permeability_rationale" field. State the logP,
polar surface area and any efflux-avoidance reasoning you used.`},
{id:"E", ko:["์ ์ˆ˜ ๋˜๋จน์ด๊ธฐ","๋ฐ›์€ ๊ฒฐ๊ณผ๋กœ ๋‹ค์Œ ํŒ์„ ์„ค๊ณ„"], en:["Iterate","Feed your score back in"],
   body:`Here is how my previous candidate was scored on this challenge. Improve on it.

PASTE YOUR RESULT HERE - hover your row on the leaderboard and copy the numbers:
  candidate id, total, and the six axis scores with their stated reasons
  (predicted potency against each enzyme, the selectivity ratio, the nearest known
  compound, the synthesis difficulty)

Diagnose which axis is costing the most, then propose 8 revised candidates that attack
that axis specifically, while not giving back what already scored well.

Be honest about trade-offs: if improving selectivity is likely to cost whole-cell
activity, say so and show both options.

JSON: [{"smiles","name","rationale":"which axis this targets and what it trades"}]

<em>VARY THIS: your own scores make this prompt unique - no two entrants have the
same starting point.</em>`}
 ],
 3: [
  {id:"A", ko:["๊ธฐ๋ณธํ˜•","์ฒ˜์Œ ์‹œ์ž‘ํ•œ๋‹ค๋ฉด ์ด๊ฒƒ๋ถ€ํ„ฐ"], en:["Starter","Begin here"],
   body:`You are designing small-molecule inhibitors of CYP51, the sterol 14a-demethylase of
Trypanosoma cruzi, for an open Chagas disease challenge.

Requirements:
- The compound must inhibit the PARASITE enzyme and NOT human CYP51A1. We run the same
  enzyme on the same chemistry, and inhibiting it is where the azole antifungals get
  their side effects.
- CYP51 is a haem enzyme. Inhibitors classically coordinate the haem iron through a ring
  nitrogen. A molecule that does only that will not be selective, because our enzyme has
  the same iron - the selectivity has to come from somewhere else.
- It has to work in a whole cell. T. cruzi persists inside host cells as an amastigote,
  so the compound must cross the host cell membrane and then the parasite's.
- Do NOT submit a prodrug. Benznidazole and nifurtimox are nitro compounds activated by
  a parasite nitroreductase; we score the molecule you submit, not what it becomes.
- Molecular weight under 750. Synthesisable.

Propose 8 candidates as a JSON array:
[{"smiles":"...","name":"...","rationale":"why this should be selective for the parasite
enzyme and reach it inside a host cell"}]

<em>VARY THIS: state a chemotype you are interested in, or a constraint of your own, so
your set does not collide with other entrants. Identical submissions are rejected.</em>`},
  {id:"B", ko:["์„ ํƒ์„ฑ ์ง‘์ค‘","์‚ฌ๋žŒ ํšจ์†Œ๋ฅผ ํ”ผํ•˜๋Š” ์„ค๊ณ„ (30์ )"], en:["Selectivity","Avoid the human enzyme (30 pts)"],
   body:`Design T. cruzi CYP51 inhibitors with a deliberate selectivity argument against human
CYP51A1.

Context you should reason from:
- Both enzymes strip the 14a-methyl group off a sterol precursor at a haem iron. The
  catalysis is shared; the channel that admits the substrate is not.
- The parasite makes ergosterol-like sterols and we make cholesterol by way of
  lanosterol, and the hydrophobic substrate channels differ accordingly. Design into that
  difference on purpose and name the difference you are exploiting.
- This is the axis nobody has cleared. The approved azoles inhibit the human enzyme about
  as hard as the parasite's, which is why they are tolerated the way they are. Matching
  them is not the target.
- A molecule that binds neither enzyme is trivially "selective" and worthless. Potency
  against the parasite enzyme is scored separately and selectivity is scaled by it.

Return 8 candidates as JSON with a "selectivity_rationale" field naming the specific
structural feature you are exploiting.`},
  {id:"C", ko:["์‹ ๊ทœ ๊ณจ๊ฒฉ","๊ฐ€์žฅ ํฐ ์ ์ˆ˜ ์—ฌ์ง€ (์‹ ๊ทœ์„ฑ 10์ )"], en:["Novel scaffold","Where the headroom is (10 pts)"],
   body:`Propose T. cruzi CYP51 inhibitors on scaffolds that are NOT represented among known
anti-trypanosomal chemistry.

Explicitly avoid: imidazole and triazole azoles of the ketoconazole or posaconazole type,
nitroimidazoles and nitrofurans, and close analogues of either.

Novelty is scored as distance from known anti-T. cruzi chemical space, and it is
MULTIPLIED by potency - a novel molecule that does nothing scores zero on that axis. So
the target is a genuinely new scaffold that still makes a credible argument for engaging
a haem-containing active site.

Return 8 candidates as JSON, each with the scaffold class named and one sentence on why
it can still engage the site.`},
  {id:"D", ko:["์ „์„ธํฌ ํ™œ์„ฑ","์ˆ™์ฃผ ์„ธํฌ ์•ˆ๊นŒ์ง€ ๋“ค์–ด๊ฐ€์•ผ ํ•œ๋‹ค (10์ )"], en:["Whole-cell","Reach inside a host cell (10 pts)"],
   body:`Design T. cruzi CYP51 inhibitors with entry into an infected host cell as the primary
constraint.

What makes this hard:
- T. cruzi persists as an intracellular amastigote, most importantly in cardiac muscle.
  A compound has to cross the host cell membrane and then reach the parasite inside it.
- Chronic Chagas disease is treated for weeks to months. A compound that only works at a
  concentration nobody can sustain is not a candidate.
- Compounds are scored on whole-cell growth inhibition as well as on binding, so an
  inhibitor that cannot get in is scored as what it is.

Return 8 candidates as JSON with a "permeability_rationale" field. State the logP, polar
surface area and any reasoning about intracellular accumulation you used.`},
{id:"E", ko:["์ ์ˆ˜ ๋˜๋จน์ด๊ธฐ","๋ฐ›์€ ๊ฒฐ๊ณผ๋กœ ๋‹ค์Œ ํŒ์„ ์„ค๊ณ„"], en:["Iterate","Feed your score back in"],
   body:`Here is how my previous candidate was scored on this challenge. Improve on it.

PASTE YOUR RESULT HERE - hover your row on the leaderboard and copy the numbers:
  candidate id, total, and the six axis scores with their stated reasons
  (predicted potency against each enzyme, the selectivity ratio, the nearest known
  compound, the synthesis difficulty)

Diagnose which axis is costing the most, then propose 8 revised candidates that attack
that axis specifically, while not giving back what already scored well.

Be honest about trade-offs: if improving selectivity is likely to cost whole-cell
activity, say so and show both options.

JSON: [{"smiles","name","rationale":"which axis this targets and what it trades"}]

<em>VARY THIS: your own scores make this prompt unique - no two entrants have the
same starting point.</em>`}
 ]
};
function promptsFor(){ return PROMPTS_BY_SEASON[SEASON] || PROMPTS_BY_SEASON[1]; }

// Listed under the slugs Polaris itself uses, so each one can be looked up rather than
// taken on trust. All sixteen were checked against the live Polaris benchmark index.
// The sixteenth - adme-fang-perm - is the Biogen ADME permeability track, described
// there as "LOG_MDR1-MDCK_ER"; it postdates the engine's own capability list, which is
// why that list still reads fifteen.
const BOARDS = ["hia-hou","bioavailability-ma","vdss-lombardo","solubility-aqsoldb",
  "cyp2d6-substrate-carbonmangels","ames","dili","moleculeace-chembl234-ki",
  "moleculeace-chembl236-ki","pkis2-egfr-wt-reg-v2","pkis2-egfr-wt-r-1",
  "pkis1-egfr-wt-mut-r-1","pkis1-egfr-wt-mut-c-1","pkis2-lok-slk-c-1",
  "pkis1-kit-wt-mut-r-1","adme-fang-perm"];

function reasonText(r){
  // r is {code, arg, limit, text}; older records may still be a bare string
  if(typeof r === "string") return r;
  const f = t().reasons[r.code];
  return f ? f(r) : (r.text || r.code || "");
}

const OV = document.getElementById("ov");
const WMAX = {activity:30, binding:20, selectivity:20, admet:15, novelty:10, synthesis:5};

function ic50(logUM){
  // boltz reports log10(IC50 in uM); show it in whichever unit reads naturally
  if(logUM==null) return "โ€“";
  const uM = Math.pow(10, logUM);
  return uM < 1 ? (uM*1000).toFixed(1)+" nM" : uM.toFixed(2)+" \u00B5M";
}

// falls back to the Korean note rather than to nothing: a reference row with no
// explanation beside it is worse than one explained in the other language
function anchorNote(e){
  return (LANG === "en" ? (e.note_en || e.note) : e.note) || "";
}

function overlayHTML(e){
  const d = t(), det = e.detail || {}, ax = e.axes || {};
  if(!Object.keys(ax).length) return `<h4>${e.candidate_id}</h4><div class="oid">${d.ov_none}</div>`;
  const rows = Object.keys(WMAX).map(k=>{
    const pts = ax[k], max = WMAX[k];
    const why = (det[k] && d.ov_why[k]) ? d.ov_why[k](det[k]) : "";
    return `<div class="orow"><span class="oax">${d.ov_axes[k]}</span>
      <span class="obar"><i style="width:${Math.max(2,(pts||0)/max*100)}%"></i></span>
      <span class="opt">${(pts??0).toFixed(1)}</span>
      ${why?`<span class="why">${why}</span>`:""}</div>`;
  }).join("");
  const r = e.run || {}, sel = det.selectivity || {};
  const pred = (r.aff_pf!=null || r.aff_hs!=null) ? `<div class="osum">
      ${d.ov_pred} ยท ${d.ov_pf} <b>${ic50(r.aff_pf)}</b> ยท ${d.ov_hs} <b>${ic50(r.aff_hs)}</b>
      ${sel.fold?` ยท ${d.ov_sel} <b>${sel.fold}x</b>`:""}</div>` : "";
  const flag = (e.relegate_reason && e.relegate_reason.length)
      ? `<div class="oflag">${e.relegate_reason.map(reasonText).join(" / ")}</div>` : "";
  const who = e.is_anchor ? anchorNote(e) : [e.hf_user, e.model_name].filter(Boolean).join(" ยท ");
  const full = (e.visibility === "public" && e.smiles) ? e.smiles : e.smiles_masked;
  const canCopy = e.visibility === "public" && e.smiles;
  const smi = e.is_anchor ? ""
      : `<div class="osmi">${full || ""}`
        + (canCopy ? `<button class="d3" data-smi="${e.smiles}" title="${d.view_3d}">3D</button>`
                   + `<button class="cp" data-smi="${e.smiles}" title="${d.copy_smiles}">\u29c9</button>` : "")
        + (e.visibility === "public" ? "" : `<br>๐Ÿ”’ ${d.private_full}`) + `</div>`;
  return `<h4>${e.candidate_id}</h4><div class="oid">${who}${e.skeleton?" ยท "+e.skeleton:""}</div>`
       + rows + pred + smi + flag + `<div class="ofoot">${d.ov_foot}</div>`;
}

// ---------------------------------------------------------------- ์ด์ •ํ‘œ
// ๐Ÿ”ด ์ˆซ์ž๋ฅผ ๋ฌธ๊ตฌ์— ๋ฐ•์ง€ ์•Š๋Š”๋‹ค. ์ œ์ถœ์€ ์‹œ๊ฐ„๋‹น ์ˆ˜์‹ญ ๊ฑด์”ฉ ๋“ค์–ด์™€์„œ, ๋ฐ•์•„๋‘๋ฉด
//    ๋ฐ˜๋‚˜์ ˆ ๋งŒ์— ๋‚ก์€ ๊ฐ’์ด ๊ณต๊ฐœ๋ฉด์— ๋‚จ๋Š”๋‹ค. /api/totals ๋ฅผ ์ฝ์–ด ๊ทธ๋•Œ๊ทธ๋•Œ ๊ทธ๋ฆฐ๋‹ค.
async function paintMilestone(){
  const el = document.getElementById("milestone");
  if (!el) return;
  let d; try{ d = await j("/api/totals"); }catch(e){ return; }
  if (!d || !d.submissions || d.submissions < 10000) return;   // ๋ชป ๋„˜์—ˆ์œผ๋ฉด ๋„์šฐ์ง€ ์•Š๋Š”๋‹ค
  const n = d.submissions.toLocaleString();
  const p = (d.participants||0).toLocaleString();
  const days = d.days;
  el.innerHTML = (LANG==="ko")
    ? `๐ŸŽ‰ <b>ํ›„๋ณด๋ฌผ์งˆ <span class="n">${n}</span>๊ฑด์„ ๋„˜์—ˆ์Šต๋‹ˆ๋‹ค.</b> ๊ฐœ๋ง‰ ${days}์ผ, ์ฐธ๊ฐ€์ž ${p}๋ช…์ด ๋‚ธ ๊ฒƒ์ž…๋‹ˆ๋‹ค. 
       ์„œ๋กœ ์•Œ์ง€๋„ ๋ชปํ•˜๋Š” ๋ถ„๋“ค์ด ๊ฐ™์€ ๊ธฐ์ค€์œผ๋กœ ๊ฒจ๋ค„ ๋งŒ๋“  ์ˆซ์ž์ž…๋‹ˆ๋‹ค. ๊ณ ๋ง™์Šต๋‹ˆ๋‹ค.`
    : `๐ŸŽ‰ <b>Past <span class="n">${n}</span> candidate molecules.</b> ${days} days in, from ${p} participants โ€” 
       people who mostly do not know each other, measured on one rubric. Thank you.`;
  el.hidden = false;
}

// ---------------------------------------------------------------- countdown
// end of the closing day, UTC. A deadline that lands at a different instant depending on
// the entrant's timezone is not one, and the prize hangs off this date.
let _deadline = null;

function startCountdown(closes){
  const t = Date.parse(closes + "T23:59:59Z");
  if(isNaN(t)) return;
  _deadline = t;
  tickCountdown();
  clearInterval(startCountdown._i);
  startCountdown._i = setInterval(tickCountdown, 1000);
}

function tickCountdown(){
  if(!_deadline) return;
  const d = t(), box = $("#cd");
  // recomputed from the clock each tick rather than decremented, so a throttled or
  // suspended background tab comes back showing the right number instead of its own drift
  let ms = _deadline - Date.now();
  $("#cdlab").textContent = ms > 0 ? d.cd_label : d.cd_over_label;
  if(ms <= 0){
    box.classList.add("over");
    $("#cdval").textContent = d.cd_over;
    clearInterval(startCountdown._i);
    return;
  }
  box.classList.remove("over");
  const s = Math.floor(ms / 1000);
  const days = Math.floor(s / 86400);
  const p = n => String(n).padStart(2, "0");
  // ๋ผ๋ฒจ์ด ์ด๋ฏธ "๋งˆ๊ฐ๊นŒ์ง€" ๋ผ๊ณ  ๋งํ•œ๋‹ค. ์•ž์— ๋นผ๊ธฐ ๊ธฐํ˜ธ๋ฅผ ๋ถ™์—ฌ ๋‘์–ด์„œ ๋‚จ์€ ๋‚ ์ด
  // ์Œ์ˆ˜์ฒ˜๋Ÿผ ๋ณด์˜€๋‹ค - 156์ผ ๋‚จ์•˜๋Š”๋ฐ "-156์ผ" ๋กœ ์ฝํ˜”๋‹ค.
  $("#cdval").innerHTML = `${days}<span class="d">${d.cd_day}</span> `
    + `${p(Math.floor(s % 86400 / 3600))}:${p(Math.floor(s % 3600 / 60))}:${p(s % 60)}`;
}

// ---------------------------------------------------------------- 3D viewer
// 3Dmol is loaded on first use. It is ~2 MB and most visits never open a structure, so
// paying for it on every page load would be charging everyone for a minority feature.
let _v3 = null, _3ready = null, _spin = true, _style = "stick";

// out of the grid and onto the body: the modal was declared beside the hover overlay,
// inside the layout, and the grid's min-width:0 collapsed it to nothing
document.body.appendChild($("#m3"));

function load3Dmol(){
  if(_3ready) return _3ready;
  _3ready = new Promise((res, rej) => {
    const s = document.createElement("script");
    s.src = "https://3Dmol.org/build/3Dmol-min.js";
    s.onload = res; s.onerror = () => rej(new Error("3Dmol"));
    document.head.appendChild(s);
  });
  return _3ready;
}

function paint3(){
  if(!_v3) return;
  _v3.setStyle({}, _style === "sphere"
    ? {sphere:{scale:0.42, colorscheme:"Jmol"}}
    : {stick:{radius:0.17, colorscheme:"Jmol"}, sphere:{scale:0.22, colorscheme:"Jmol"}});
  _v3.render();
}

async function open3D(smi){
  const M = $("#m3"), msg = $("#m3m");
  M.classList.add("on");
  $("#m3s").textContent = smi;
  $("#m3f").textContent = ""; $("#m3w").textContent = "";
  msg.textContent = t().v3_loading;
  try{
    const [_, r] = await Promise.all([
      load3Dmol(),
      fetch("api/mol3d?smiles=" + encodeURIComponent(smi)).then(x => x.json())
    ]);
    if(!r.mol) throw new Error("mol");
    $("#m3f").textContent = r.formula;
    $("#m3w").textContent = r.mw + " Da \u00b7 " + r.atoms + " " + t().v3_atoms;
    const host = $("#m3v");
    host.innerHTML = "";
    _v3 = $3Dmol.createViewer(host, {backgroundColor:"#0d1420"});
    _v3.addModel(r.mol, "mol");
    paint3();
    _v3.zoomTo();
    _v3.render();
    _v3.spin(_spin ? "y" : false, 0.6);
    msg.textContent = "";
  }catch(err){
    msg.textContent = t().v3_failed;
  }
}

function close3D(){
  $("#m3").classList.remove("on");
  // the WebGL context is not reclaimed by hiding the element; leaving one per open would
  // eventually exhaust the browser's context budget and blank the canvas
  try{ if(_v3){ _v3.spin(false); _v3.clear(); } }catch(_){}
  _v3 = null; $("#m3v").innerHTML = "";
}

$("#m3x").onclick = close3D;
$("#m3").onclick = (e) => { if(e.target.id === "m3") close3D(); };
document.addEventListener("keydown", e => { if(e.key === "Escape") close3D(); });
$("#m3st").onclick = () => { _style = "stick"; $("#m3st").classList.add("on");
                             $("#m3sp").classList.remove("on"); paint3(); };
$("#m3sp").onclick = () => { _style = "sphere"; $("#m3sp").classList.add("on");
                             $("#m3st").classList.remove("on"); paint3(); };
$("#m3rt").onclick = () => { _spin = !_spin; $("#m3rt").classList.toggle("on", _spin);
                             try{ if(_v3) _v3.spin(_spin ? "y" : false, 0.6); }catch(_){} };

function wire3D(root){
  root.querySelectorAll(".d3").forEach(b => b.onclick = (ev) => {
    ev.stopPropagation();
    open3D(b.dataset.smi);
  });
}

function wireCopy(root){
  root.querySelectorAll(".cp").forEach(b => b.onclick = async (ev) => {
    // without this the click also reaches the row and toggles the overlay
    ev.stopPropagation();
    const v = b.dataset.smi;
    try{ await navigator.clipboard.writeText(v); }
    catch(_){ const ta=document.createElement("textarea"); ta.value=v;
      document.body.appendChild(ta); ta.select(); document.execCommand("copy"); ta.remove(); }
    b.classList.add("done"); b.textContent = "\u2713";
    setTimeout(()=>{ b.classList.remove("done"); b.textContent = "\u29c9"; }, 1200);
  });
}

function showOverlay(e, rect){
  OV.innerHTML = overlayHTML(e);
  OV.style.display = "block";
  const h = OV.offsetHeight, w = OV.offsetWidth;
  // flip above the row rather than open past the bottom of the window
  let top = rect.bottom + 8;
  if(top + h > window.innerHeight - 8) top = Math.max(8, rect.top - h - 8);
  // anchor to the right of the row: the structure and its copy button live on the left,
  // and opening over them buries the control the reader was reaching for
  let left = Math.max(8, Math.min(rect.right - w, window.innerWidth - w - 12));
  OV.style.top = top + "px";
  OV.style.left = left + "px";
  wireCopy(OV);
  wire3D(OV);
}
function hideOverlay(){ OV.style.display = "none"; }
OV.onmouseenter = () => clearTimeout(OV._t);
OV.onmouseleave = hideOverlay;

async function load(){
  try{
    const [lb, me, md] = await Promise.all([
      fetch("api/leaderboard" + qs()).then(r=>r.json()),
      fetch("api/me").then(r=>r.json()).catch(()=>ME),
      fetch("api/models" + qs()).then(r=>r.json()).catch(()=>MODELS),
    ]);
    DATA = lb; ME = me; MODELS = md;
    if(DATA.season && DATA.season.closes) startCountdown(DATA.season.closes);
    renderAuth(); render(); renderModels(MODELS);
    paintMilestone();   // ์‹คํŒจํ•ด๋„ ๋ณธ๋ฌธ์€ ๊ทธ๋ ค์ ธ์•ผ ํ•˜๋ฏ€๋กœ await ํ•˜์ง€ ์•Š๋Š”๋‹ค
  }
  catch(e){ $("#rows").innerHTML = `<tr><td colspan="11" class="who">${t().fail}${e}</td></tr>`; }
}

$("#go").onclick = async ()=>{
  const d = t(), btn = $("#go"), msg = $("#msg");
  const vis = (document.querySelector('input[name="vis"]:checked')||{}).value || "private";
  const body = {structure:$("#structure").value.trim(), display_name:$("#display_name").value.trim(),
                model_name:$("#model_name").value.trim(), rationale:$("#rationale").value.trim(),
                visibility: vis, season: SEASON};
  if(!body.structure || !body.display_name){ msg.className="msg err"; msg.textContent=d.need; return; }
  btn.disabled = true; msg.className="msg"; msg.textContent="";
  try{
    const r = await fetch("api/submit" + qs(),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(body)});
    // ์„œ๋ฒ„๊ฐ€ JSON ์ด ์•„๋‹Œ ๊ฒƒ์„ ๋Œ๋ ค์ค„ ์ˆ˜ ์žˆ๋‹ค - ๊ฒŒ์ดํŠธ์›จ์ด ์˜ค๋ฅ˜ ๋ณธ๋ฌธ์€ HTML ์ด๋‹ค.
    // ๊ทธ๋Œ€๋กœ ํŒŒ์‹ฑํ•˜๋ฉด ์ฐธ๊ฐ€์ž์—๊ฒŒ "Unexpected token 'I'" ๊ฐ€ ๋œฌ๋‹ค. ๋ฌด์Šจ ์ผ์ด ๋‚ฌ๋Š”์ง€๋„,
    // ๋‹ค์‹œ ๋‚ด๋ฉด ๋˜๋Š”์ง€๋„ ์•Œ๋ ค์ฃผ์ง€ ์•Š๋Š” ๋ฌธ์žฅ์ด๋‹ค.
    let j = null;
    try{ j = await r.json(); }catch(_){ j = null; }
    if(!j){ msg.className="msg err"; msg.textContent = r.status>=500 ? d.busy : (d.fail+r.status);
            btn.disabled=false; return; }
    if(j.accepted){ msg.className="msg ok"; msg.textContent=d.queued(j.candidate_id,j.queue_position,j.note);
                    $("#structure").value=""; load(); }
    else { msg.className="msg err";
           msg.textContent=(j.reasons||[]).map(reasonText).join(" / ") || d.rejected; }
  }catch(e){ msg.className="msg err"; msg.textContent=d.fail+e; }
  btn.disabled = false;
};

document.querySelectorAll('input[name="vis"]').forEach(r => r.onchange = () => {
  $("#vis_priv").classList.toggle("on", r.value === "private" ? r.checked : !r.checked);
  $("#vis_pub").classList.toggle("on", r.value === "public" ? r.checked : !r.checked);
});

function renderPrompts(){
  const d = t(), host = $("#prompts");
  if(!host) return;
  host.innerHTML = promptsFor().map((p,i) => {
    const [title, sub] = (LANG==="ko" ? p.ko : p.en);
    return `<div class="pcard">
      <div class="phead"><span class="ptag">${p.id}</span>
        <b>${title}</b><span>${sub}</span>
        <button class="pcopy" data-i="${i}">${LANG==="ko"?"๋ณต์‚ฌ":"Copy"}</button></div>
      <div class="pbody">${p.body.trim()}</div></div>`;
  }).join("");
  host.querySelectorAll(".pcopy").forEach(b => b.onclick = async () => {
    // the emphasis markup is presentational; the clipboard gets clean text
    const raw = promptsFor()[+b.dataset.i].body.replace(/<\/?em>/g, "").trim();
    try{ await navigator.clipboard.writeText(raw); }
    catch(_){ const ta=document.createElement("textarea"); ta.value=raw;
      document.body.appendChild(ta); ta.select(); document.execCommand("copy"); ta.remove(); }
    const was = b.textContent;
    b.textContent = LANG==="ko" ? "๋ณต์‚ฌ๋จ โœ“" : "Copied โœ“";
    setTimeout(()=>{ b.textContent = was; }, 1500);
  });
}

function seasonFacts(){
  const si = seasonInfo() || {}, d = t();
  const W = si.weights || {}, L = si.limits || {};
  const names = LANG==="ko"
    ? {activity:"์•ฝํšจ", binding:"๊ฒฐํ•ฉ", selectivity:"์„ ํƒ์„ฑ", admet:"ADMET",
       novelty:"์‹ ๊ทœ์„ฑ", synthesis:"ํ•ฉ์„ฑ"}
    : {activity:"Activity", binding:"Binding", selectivity:"Selectivity", admet:"ADMET",
       novelty:"Novelty", synthesis:"Synthesis"};
  const order = ["activity","binding","selectivity","admet","novelty","synthesis"];
  const line = order.filter(k => W[k] != null).map(k => names[k] + " " + W[k]).join(" ยท ");
  const total = order.reduce((a,k) => a + (W[k]||0), 0);
  return {
    WEIGHTS: line + (LANG==="ko" ? `, ํ•ฉ๊ณ„ ${total}์ ์ž…๋‹ˆ๋‹ค.` : `, out of ${total}.`),
    MW: L.mw_max != null ? String(Math.round(L.mw_max)) : "550"
  };
}

function fillFacts(text){
  if(!text) return text;
  const f = seasonFacts();
  return String(text).replace(/\{(WEIGHTS|MW)\}/g, (_, k) => f[k]);
}

function renderFails(){
  const d = t(), host = $("#fails");
  if(!host) return;
  host.innerHTML = (d.fails||[]).map(([a,b]) => `<tr><td>${fillFacts(a)}</td><td>${fillFacts(b)}</td></tr>`).join("");
}

document.querySelectorAll("#tabs button").forEach(b => b.onclick = () => {
  document.querySelectorAll("#tabs button").forEach(x => x.classList.toggle("on", x===b));
  document.querySelectorAll(".panel").forEach(p =>
    p.classList.toggle("on", p.id === "p-" + b.dataset.panel));
  hideOverlay();
  window.scrollTo({top:0, behavior:"smooth"});
});

window.addEventListener("scroll", hideOverlay, {passive:true});
window.addEventListener("resize", hideOverlay);

fetch("api/seasons").then(r=>r.json()).then(j=>{ SEASONS = j.seasons; applyLang(); loadTally(); })
  .catch(()=>{});
setInterval(loadTally, 600000);
applyLang(); load(); setInterval(load, 20000);
</script>
</body>
</html>