File size: 42,909 Bytes
1a1d837 f80e38d 70d242f f80e38d 303b7b5 f80e38d 303b7b5 70d242f f80e38d dba0f8e f80e38d 1a1d837 70d242f 303b7b5 70d242f f80e38d 70d242f f80e38d 1a1d837 f80e38d 70d242f f80e38d 1a1d837 f80e38d 70d242f f80e38d 690fce4 f80e38d 690fce4 f80e38d 690fce4 f80e38d 1a1d837 f80e38d 1a1d837 f80e38d 70d242f 303b7b5 f80e38d 1a1d837 70d242f f80e38d 303b7b5 f80e38d 1a1d837 f80e38d 1a1d837 f80e38d 1a1d837 f80e38d dba0f8e f80e38d dba0f8e 303b7b5 f80e38d 1a1d837 f80e38d 1a1d837 f80e38d 1a1d837 f80e38d dba0f8e 1a1d837 70d242f f80e38d 1a1d837 303b7b5 f80e38d 303b7b5 f80e38d 1a1d837 f80e38d 1a1d837 303b7b5 f80e38d 1a1d837 303b7b5 f80e38d 303b7b5 1a1d837 f80e38d 1a1d837 f80e38d 303b7b5 f80e38d 303b7b5 f80e38d 303b7b5 1a1d837 f80e38d 303b7b5 f80e38d 303b7b5 f80e38d 303b7b5 f80e38d 303b7b5 f80e38d 303b7b5 f80e38d 303b7b5 f80e38d 303b7b5 f80e38d 303b7b5 f80e38d 303b7b5 f80e38d 303b7b5 f80e38d 303b7b5 1a1d837 f80e38d 303b7b5 f80e38d 303b7b5 f80e38d 1a1d837 303b7b5 f80e38d 303b7b5 f80e38d 303b7b5 f80e38d 303b7b5 f80e38d 1a1d837 f80e38d 303b7b5 f80e38d 303b7b5 f80e38d 303b7b5 f80e38d 303b7b5 f80e38d 303b7b5 1a1d837 f80e38d 1a1d837 303b7b5 1a1d837 f80e38d 1a1d837 f80e38d 303b7b5 f80e38d 303b7b5 f80e38d 1a1d837 303b7b5 f80e38d 303b7b5 f80e38d 303b7b5 f80e38d 303b7b5 f80e38d 303b7b5 f80e38d 303b7b5 f80e38d 303b7b5 eeb2060 c714c54 eeb2060 1a1d837 eeb2060 bc70227 eeb2060 ee91bfb eeb2060 ee91bfb eeb2060 ee91bfb eeb2060 c714c54 fa0a782 303218a c714c54 303218a c714c54 1a1d837 c714c54 303218a 4655844 | 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 | /* Bench Labs Leaderboard — transferred from Members space style
- Dark space theme, glass cards, starfield background
- Keeps leaderboard functional classes while adopting Members tokens
*/
:root {
--bg-0: #05060a;
--bg-1: #0a0c14;
--ink: #e8ecf5;
--muted: #8b93a8;
--muted-2: #5c6478;
--line: rgba(255,255,255,0.08);
--line-strong: rgba(255,255,255,0.16);
--accent: #7c9cff;
--accent-soft: rgba(124,156,255,0.32);
--accent-2: #a9beff;
--green: #7aff9c;
--gold: #e3b341;
--silver: #b1bac4;
--bronze: #d18b47;
--success: #7aff9c;
--card-bg: rgba(255,255,255,0.02);
--card-bg-hover: rgba(124,156,255,0.06);
--bg-warm: rgba(255,255,255,0.03);
--radius: 16px;
--radius-sm: 12px;
--radius-pill: 999px;
--shadow-sm: 0 1px 0 rgba(255,255,255,0.04) inset, 0 8px 24px rgba(0,0,0,0.35);
--t: 0.25s cubic-bezier(0.4,0,0.2,1);
--score-base: 139,147,168; /* #8b93a8 muted */
--score-best: 122,255,156; /* #7aff9c bright */
color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg-0); }
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
color: var(--ink);
font-size: 15px;
line-height: 1.5;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* old Edge/IE */
}
/* WebKit (Chrome/Safari/Edge): hide the page scrollbar entirely while
keeping the page scrollable — width:0 removes it from layout too. */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
width: 0;
height: 0;
display: none;
}
code, pre { font-family: "SF Mono", "Cascadia Code", "Fira Code", Consolas, monospace; }
::selection { background: rgba(124,156,255,0.35); }
/* =========== Space background =========== */
.space-bg {
position: fixed;
inset: 0;
z-index: 0;
background:
radial-gradient(ellipse 80% 50% at 50% -10%, rgba(90,100,180,0.18) 0%, transparent 60%),
radial-gradient(ellipse 60% 40% at 85% 100%, rgba(120,80,180,0.12) 0%, transparent 60%),
linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
pointer-events: none;
}
.stars {
position: fixed;
inset: 0;
z-index: 0;
pointer-events: none;
display: block;
width: 100%;
height: 100%;
}
@media (prefers-reduced-motion: reduce) {
.stars { opacity: 0.6; }
}
/* =========== Entry animations =========== */
.fade, .anim {
opacity: 0;
animation: fadeIn 0.6s ease both;
}
.d1 { animation-delay: .05s; } .d2 { animation-delay: .12s; }
.d3 { animation-delay: .18s; } .d4 { animation-delay: .24s; }
.d5 { animation-delay: .3s; } .d6 { animation-delay: .36s; } .d7 { animation-delay: .42s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .fade, .anim { animation: none; opacity: 1; } }
.rotating-headline {
display: inline-block;
transition: opacity 0.4s ease, transform 0.4s ease;
will-change: opacity, transform;
}
.rotating-headline.rolling-out { opacity: 0; transform: translateY(-0.5em); }
.rotating-headline.rolling-in { opacity: 0; transform: translateY(0.5em); }
@media (prefers-reduced-motion: reduce) {
.rotating-headline { transition: opacity 0.3s ease; }
.rotating-headline.rolling-out, .rotating-headline.rolling-in { transform: none; }
}
/* =========== Layout helpers =========== */
.shell { max-width: 1080px; margin: 0 auto; width: 100%; }
a { color: var(--accent); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--accent-2); text-decoration: none; }
/* eyebrow */
.eyebrow {
display: inline-flex; align-items: center; gap: 8px;
font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
color: var(--muted);
}
.eyebrow a { color: var(--muted); }
.eyebrow a:hover { color: var(--ink); }
.eyebrow-sep { color: var(--muted-2); }
/* hero */
.hero h1 {
font-family: 'Newsreader', serif;
font-style: italic;
font-weight: 400;
letter-spacing: -0.02em;
text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.subtitle { color: var(--muted); text-shadow: 0 1px 12px rgba(0,0,0,0.45); }
.subtitle strong { color: var(--ink); font-weight: 500; }
/* =========== Controls =========== */
.controls {
display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
margin-bottom: 1rem;
width: 100%;
position: relative;
z-index: 30;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; min-width: 180px; }
.chip {
border: 1px solid var(--line);
background: rgba(255,255,255,0.07);
color: var(--muted);
border-radius: var(--radius-pill);
padding: 6px 16px;
font-size: 0.80rem;
font-weight: 500;
cursor: pointer;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
box-shadow: 0 2px 10px rgba(0,0,0,0.25);
transition: var(--t);
user-select: none;
letter-spacing: 0.01em;
}
.chip:hover { border-color: var(--line-strong); color: var(--ink); background: rgba(255,255,255,0.1); box-shadow: 0 4px 14px rgba(0,0,0,0.3); }
.chip.active { background: var(--accent); border-color: var(--accent); color: #05060a; font-weight: 600; }
.chip .chip-note {
opacity: 0.7; font-size: 0.68rem; margin-left: 5px;
font-weight: 400; letter-spacing: 0.02em;
border: 1px solid rgba(0,0,0,0.2);
padding: 1px 6px; border-radius: var(--radius-pill);
background: rgba(0,0,0,0.15);
}
.chip.active .chip-note { background: rgba(0,0,0,0.2); border-color: rgba(0,0,0,0.2); color: rgba(0,0,0,0.7); }
.controls-right { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.search-pill {
display: inline-flex; align-items: center; gap: 8px;
background: rgba(255,255,255,0.07);
border: 1px solid var(--line);
border-radius: var(--radius-pill);
padding: 7px 14px;
min-height: 36px;
box-sizing: border-box;
color: var(--muted-2);
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
box-shadow: var(--shadow-sm);
transition: var(--t);
}
.search-pill:hover { border-color: var(--line-strong); background: rgba(255,255,255,0.09); }
.search-pill:focus-within { border-color: var(--accent-soft); box-shadow: 0 0 0 3px rgba(124,156,255,0.12), var(--shadow-sm); background: rgba(255,255,255,0.09); }
.search-pill input {
border: 0; background: transparent; outline: 0; color: var(--ink);
font-size: 0.84rem; line-height: 1; width: 190px; font-family: 'Inter', sans-serif;
}
.search-pill input::placeholder { color: var(--muted-2); }
.sort-pill {
display: inline-flex; align-items: center; gap: 8px;
background: rgba(255,255,255,0.07); border: 1px solid var(--line);
border-radius: var(--radius-pill);
padding: 7px 12px 7px 14px;
min-height: 36px;
box-sizing: border-box;
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
box-shadow: var(--shadow-sm);
transition: var(--t);
position: relative;
}
.sort-pill:hover { border-color: var(--line-strong); background: rgba(255,255,255,0.09); }
.sort-pill:focus-within,
.sort-pill.open {
border-color: var(--accent-soft);
box-shadow: 0 0 0 3px rgba(124,156,255,0.12), var(--shadow-sm);
background: rgba(255,255,255,0.09);
}
.sort-label { font-size: 0.74rem; color: var(--muted-2); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
/* Real select kept in DOM for script.js compatibility (change events / .value),
but visually hidden — the custom trigger+menu below is what renders. */
#sort-select {
position: absolute;
width: 1px; height: 1px;
padding: 0; margin: -1px;
overflow: hidden;
clip: rect(0,0,0,0);
white-space: nowrap;
border: 0;
}
/* Custom trigger button — replaces native <select> control */
.sort-trigger {
display: inline-flex; align-items: center; gap: 8px;
border: 0; background: transparent; padding: 0;
color: var(--ink);
font-size: 0.84rem;
font-weight: 500;
font-family: 'Inter', sans-serif;
line-height: 1;
cursor: pointer;
transition: color var(--t);
}
.sort-trigger:hover, .sort-trigger:focus-visible { color: var(--accent-2); }
.sort-trigger:focus-visible { outline: 0; }
.sort-chevron { color: var(--muted-2); flex-shrink: 0; transition: transform var(--t), color var(--t); }
.sort-pill.open .sort-chevron { transform: rotate(180deg); color: var(--accent); }
.sort-trigger:hover .sort-chevron { color: var(--accent-2); }
/* Custom dropdown menu — fully styled, no native <option> chrome */
.sort-menu {
position: absolute;
top: calc(100% + 8px);
right: 0;
min-width: 148px;
background: rgba(10,12,20,0.96);
border: 1px solid var(--line-strong);
border-radius: var(--radius-sm);
box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 16px 36px rgba(0,0,0,0.55);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
list-style: none;
padding: 6px;
margin: 0;
z-index: 9999;
opacity: 0;
transform: translateY(-4px);
pointer-events: none;
transition: opacity 0.15s ease, transform 0.15s ease;
}
.sort-menu:not([hidden]).show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.sort-menu li {
padding: 7px 10px;
border-radius: 7px;
font-size: 0.84rem;
color: var(--muted);
cursor: pointer;
transition: background var(--t), color var(--t);
white-space: nowrap;
}
.sort-menu li:hover,
.sort-menu li.active {
background: rgba(124,156,255,0.12);
color: var(--ink);
}
.sort-menu li.selected {
color: var(--accent-2);
font-weight: 600;
}
.sort-menu li.selected::after {
content: '✓';
float: right;
margin-left: 10px;
color: var(--accent);
font-weight: 700;
}
/* =========== Table =========== */
.table-card {
background: rgba(255,255,255,0.07);
border: 1px solid var(--line);
border-radius: var(--radius);
box-shadow: var(--shadow-sm);
overflow: hidden;
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
width: 100%;
}
.table-scroll { overflow: auto; max-height: 72vh; -webkit-overflow-scrolling: touch; }
.table-scroll::-webkit-scrollbar { height: 6px; width: 6px; }
.table-scroll::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: var(--radius-pill); }
.table-scroll::-webkit-scrollbar-track { background: transparent; }
table { border-collapse: collapse; width: 100%; }
thead { position: sticky; top: 0; z-index: 2; }
th {
background: rgba(255,255,255,0.09);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
text-align: left; font-size: 10px;
text-transform: uppercase; letter-spacing: 0.10em; font-weight: 500;
color: var(--muted); padding: 11px 12px;
border-bottom: 1px solid var(--line);
white-space: nowrap;
}
th.num, td.num { text-align: right; font-variant-numeric: tabular-nums; }
td {
padding: 10px 12px; font-size: 0.86rem;
border-bottom: 1px solid var(--line);
white-space: nowrap;
color: var(--ink);
}
tbody tr.model-row { cursor: pointer; transition: background var(--t); }
tbody tr.model-row:hover { background: rgba(255,255,255,0.03); }
tr:last-child td { border-bottom: 0; }
.rank { color: var(--muted-2); font-variant-numeric: tabular-nums; font-size: 0.84rem; }
.rank-1 { color: var(--gold); font-weight: 700; }
.rank-2 { color: var(--silver); font-weight: 700; }
.rank-3 { color: var(--bronze); font-weight: 700; }
.model-cell { max-width: 340px; overflow: hidden; text-overflow: ellipsis; }
.model-cell a { color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.model-cell a:hover { color: var(--accent); }
.org-tag {
display: inline-flex; align-items: center; gap: 5px;
border-radius: var(--radius-pill); padding: 2px 10px; font-size: 11px; font-weight: 500;
letter-spacing: 0.01em;
}
.org-tag .dot { width: 6px; height: 6px; border-radius: 50%; }
td.score { font-variant-numeric: tabular-nums; font-weight: 500; }
td.score.best { font-weight: 700; color: var(--green); }
td.score .na { color: var(--muted-2); font-style: italic; font-size: 0.78rem; }
.expand-hint { color: var(--muted-2); font-size: 0.7rem; transition: transform var(--t); display: inline-block; }
tr.open .expand-hint { transform: rotate(90deg); color: var(--accent); }
/* expanded detail row */
tr.detail-row td { background: rgba(255,255,255,0.07); padding: 16px 18px; white-space: normal; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.detail-block h4 {
font-size: 10px; text-transform: uppercase; letter-spacing: 0.10em;
color: var(--muted); margin-bottom: 8px; font-weight: 600;
}
.mode-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mode-chip {
border: 1px solid var(--line); border-radius: 8px;
padding: 4px 10px; font-size: 0.76rem; color: var(--muted);
font-variant-numeric: tabular-nums; background: rgba(255,255,255,0.07);
box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.mode-chip b { color: var(--ink); font-weight: 600; }
.cat-table { width: 100%; font-size: 0.78rem; border-collapse: collapse; margin-top: 6px; }
.cat-table td { padding: 3px 6px; border: 0; font-size: 0.78rem; }
.cat-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.cat-bar { height: 4px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.08); overflow: hidden; margin-top: 3px; }
.cat-bar i { display: block; height: 100%; background: var(--green); border-radius: var(--radius-pill); }
/* =========== Mobile cards =========== */
#model-cards { display: none; }
.m-card { padding: 1rem 1.15rem; border-bottom: 1px solid var(--line); transition: background var(--t); }
.m-card:hover { background: rgba(255,255,255,0.02); }
.m-card:last-child { border-bottom: 0; }
.m-card-top { display: flex; align-items: baseline; gap: 9px; }
.m-card-top .rank { font-size: 0.8rem; }
.m-card-top a { color: var(--ink); font-weight: 600; font-size: 0.96rem; letter-spacing: -0.01em; }
.m-card-meta { display: flex; flex-wrap: wrap; gap: 7px; margin: 6px 0 10px; align-items: center; }
.m-card-meta .params { color: var(--muted-2); font-size: 0.76rem; font-variant-numeric: tabular-nums; }
.m-scores { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 7px; }
.m-score { background: rgba(255,255,255,0.07); border: 1px solid var(--line); border-radius: 10px; padding: 6px 9px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.m-score .k { font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); font-weight: 500; margin-bottom: 2px; }
.m-score .v { font-size: 0.92rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }
/* =========== Empty / howto / footer =========== */
#empty-state { padding: 3rem 1.5rem; text-align: center; }
.empty-title { font-weight: 600; color: var(--ink); font-size: 1rem; }
.empty-sub { color: var(--muted); font-size: 0.86rem; margin-top: 0.5rem; line-height: 1.6; max-width: 46ch; margin-left: auto; margin-right: auto; }
.empty-sub code { background: rgba(255,255,255,0.06); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; font-size: 0.82em; }
.linklike {
border: 0; background: transparent; color: var(--accent); cursor: pointer;
font: inherit; padding: 0; font-weight: 500;
}
.linklike:hover { color: var(--accent-2); text-decoration: underline; }
.howto { margin-top: 1.25rem; width: 100%; }
.howto details {
background: rgba(255,255,255,0.07); border: 1px solid var(--line);
border-radius: 12px; padding: 0.85rem 1.15rem;
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
box-shadow: var(--shadow-sm);
transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.howto details:hover { border-color: var(--line-strong); background: rgba(255,255,255,0.09); }
.howto summary { cursor: pointer; font-size: 0.88rem; color: var(--muted); font-weight: 500; list-style: none; display: flex; align-items: center; gap: 8px; }
.howto summary::-webkit-details-marker { display: none; }
.howto summary::before { content: '›'; display: inline-block; transition: transform var(--t); color: var(--muted-2); }
.howto details[open] summary::before { transform: rotate(90deg); }
/* Smooth expand/collapse — JS drives max-height + opacity since <details>
itself can't transition display:none <-> block. */
.howto-content {
max-height: 0;
opacity: 0;
overflow: hidden;
transition: max-height 0.32s cubic-bezier(0.4,0,0.2,1), opacity 0.24s ease;
}
.howto details[open] .howto-content { opacity: 1; }
.howto-content-inner { padding-top: 0.2rem; }
.howto p { font-size: 0.84rem; color: var(--muted); margin: 0.7rem 0 0.5rem; line-height: 1.6; }
.howto pre {
background: rgba(0,0,0,0.35); border: 1px solid var(--line);
border-radius: 10px; padding: 0.85rem 1rem; overflow-x: auto;
font-size: 0.78rem; line-height: 1.6; color: var(--muted);
}
.howto code { color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
.howto-content { transition: none; }
}
.foot {
margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line);
text-align: center; color: var(--muted-2); font-size: 0.78rem;
width: 100%;
display: flex; flex-direction: column; gap: 6px; align-items: center;
}
.foot a { color: var(--muted); }
.foot a:hover { color: var(--ink); }
/* section divider from Members */
.section-divider {
display: flex; align-items: center; gap: 14px; width: 100%; max-width: 42rem;
}
.section-divider .line {
flex: 1; height: 1px;
background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
/* =========== Breakpoints =========== */
@media (max-width: 768px) {
.shell { padding: 1.2rem 1rem 2rem; }
.hero h1 { font-size: 2rem !important; }
.search-pill input { width: 130px; }
}
@media (max-width: 640px) {
.table-scroll { display: none; }
#model-cards { display: block; }
.controls-right { width: 100%; }
.search-pill { flex: 1; }
.search-pill input { width: 100%; }
}
/* ============================================================
ADDITIONS ONLY — append this block to the end of style.css.
No existing rules are modified. Uses existing design tokens
(--ink, --muted, --line, --green, --accent, --card-bg, etc.)
so it matches the current look exactly.
============================================================ */
/* ---- Capability radar (replaces the old cat-table sliders) ---- */
.capability-panel {
display: flex; flex-wrap: wrap; gap: 20px; align-items: center;
background: rgba(255,255,255,0.07);
border: 1px solid var(--line);
border-radius: var(--radius-sm);
padding: 16px;
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
box-shadow: var(--shadow-sm);
}
.radar-wrap { flex: 0 0 auto; }
.radar-svg {
width: 220px;
height: 220px;
display: block;
overflow: visible;
padding-left: 50px;
padding-right: 50px;
scale: 1.2;
}
.radar-ring {
fill: none; stroke: var(--line); stroke-width: 1;
}
.radar-spoke { stroke: var(--line); stroke-width: 1; }
.radar-fill {
fill: rgba(122, 255, 156, 0.18);
stroke: var(--green);
stroke-width: 1.5;
stroke-linejoin: round;
}
.radar-label {
fill: var(--ink);
font-size: 7.5px;
font-weight: 600;
font-family: 'Inter', sans-serif;
letter-spacing: 0.02em;
text-transform: capitalize;
paint-order: stroke;
stroke: rgba(5,6,10,0.5);
stroke-width: 2px;
stroke-linecap: round;
stroke-linejoin: round;
}
.radar-empty { color: var(--muted-2); font-size: 0.82rem; font-style: italic; }
.tier-strip {
flex: 1 1 220px; min-width: 200px;
display: flex; flex-direction: column; gap: 6px;
}
.tier-row {
display: grid; grid-template-columns: 84px 1fr 46px;
align-items: center; gap: 8px;
}
.tier-name {
font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em;
color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tier-bar {
height: 5px; border-radius: var(--radius-pill);
background: rgba(255,255,255,0.08); overflow: hidden;
}
.tier-bar i {
display: block; height: 100%; background: var(--green); border-radius: var(--radius-pill);
}
.tier-val {
font-size: 0.78rem; text-align: right; color: var(--muted);
font-variant-numeric: tabular-nums;
}
/* ---- Text-to-image mini leaderboard ---- */
.section-heading {
display: flex; align-items: baseline; gap: 10px; margin-bottom: 0.75rem;
}
.section-heading h2 {
font-family: 'Newsreader', serif; font-style: italic; font-weight: 400;
font-size: 1.3rem; color: var(--ink); letter-spacing: -0.01em;
}
.section-heading .section-note { font-size: 0.78rem; color: var(--muted-2); }
#t2i-section { margin-top: 2rem; width: 100%; }
#t2i-empty {
padding: 1.6rem; text-align: center; color: var(--muted); font-size: 0.86rem;
}
#t2i-table td.res {
font-size: 0.78rem; color: var(--muted-2); white-space: nowrap;
}
.flag-dot {
font-size: 0.72rem; cursor: help; opacity: 0.75;
}
/* ---- Mobile fixes ----
The base stylesheet only ever wired up #model-cards for the <640px
breakpoint; #t2i-cards didn't exist yet, so on mobile the T2I table
(display:none below 640px) had no replacement and the whole section
effectively vanished. This makes #t2i-cards behave the same way
#model-cards already does, and makes both card lists tappable so rows
stay openable on mobile instead of only working with mouse hover/click
on the desktop table. */
#t2i-cards { display: none; }
#ext-cards { display: none; }
@media (max-width: 640px) {
#t2i-cards { display: block; }
#ext-cards { display: block; }
}
.m-card, .t2i-m-card {
cursor: pointer;
position: relative;
}
.m-card:active, .t2i-m-card:active {
background: rgba(255,255,255,0.04);
}
.m-card .m-card-top, .t2i-m-card .m-card-top {
display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.m-card .expand-hint, .t2i-m-card .expand-hint {
color: var(--muted-2); font-size: 0.7rem; transition: transform var(--t);
flex-shrink: 0;
}
.m-card.open .expand-hint, .t2i-m-card.open .expand-hint {
transform: rotate(90deg); color: var(--accent);
}
.m-card-detail, .t2i-m-card-detail {
margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line);
}
.t2i-m-card {
padding: 1rem 1.15rem; border-bottom: 1px solid var(--line); transition: background var(--t);
}
.t2i-m-card:last-child { border-bottom: 0; }
.t2i-m-card-top a { color: var(--ink); font-weight: 600; font-size: 0.96rem; letter-spacing: -0.01em; }
.t2i-m-card-meta { display: flex; flex-wrap: wrap; gap: 7px; margin: 6px 0 10px; align-items: center; }
.t2i-m-card-meta .params, .t2i-m-card-meta .res, .t2i-m-card-meta .date {
color: var(--muted-2); font-size: 0.76rem; font-variant-numeric: tabular-nums;
}
.t2i-m-scores { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 7px; }
.t2i-m-score { background: rgba(255,255,255,0.07); border: 1px solid var(--line); border-radius: 10px; padding: 6px 9px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.t2i-m-score .k { font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); font-weight: 500; margin-bottom: 2px; }
.t2i-m-score .v { font-size: 0.92rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }
.t2i-m-score .v.best { color: var(--green); }
/* Composite-score column */
td.score.composite, .m-score.composite .v, .t2i-m-score.composite .v {
color: var(--accent-2);
}
/* External benchmarks section */
#external-section { margin-top: 2rem; width: 100%; }
#ext-empty {
padding: 1.6rem; text-align: center; color: var(--muted); font-size: 0.86rem;
}
#ext-cards { display: none; }
@media (max-width: 640px) {
#ext-cards { display: block; }
}
/* Charts row */
.chart-row {
display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 1rem; width: 100%;
}
@media (max-width: 768px) {
.chart-row { grid-template-columns: 1fr; }
}
.chart-card {
background: rgba(255,255,255,0.07);
border: 1px solid var(--line);
border-radius: var(--radius);
box-shadow: var(--shadow-sm);
overflow: hidden;
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
}
.chart-title {
font-size: 10px; text-transform: uppercase; letter-spacing: 0.10em;
font-weight: 600; color: var(--muted);
padding: 12px 14px 4px; margin: 0;
}
.chart-body { padding: 4px 8px 8px; }
.chart-svg { width: 100%; height: auto; display: block; }
/* ==========================================================================
SWISS / INTERNATIONAL TYPOGRAPHIC STYLE — Benchmark Leaderboard
Appended after the "ADDITIONS ONLY" block. Nothing above is deleted: the
base stylesheet still owns layout and structure, this re-keys the tokens
and restyles the dashboard's own components.
Mapped from the blog restyle:
· one grotesk (Inter) for everything — the Newsreader italic goes
· square corners (--radius* -> 0), no shadow, no blur, no gradient
· hairline rules carry the structure that glass cards used to
· ONE accent (Swiss red) for UI; data marks go neutral light
· dark theme kept, lifted: #05060a -> #1b1c1e (neutral grey)
Two deliberate calls, both reversible in :root below:
1. Data marks (bars, radar, "best" scores) were lime #7aff9c. They are
now ink — in a table of 40 numbers, one more colour is noise. Rank
medals likewise: #1 red, #2 ink, #3 muted.
2. Score ramp --score-base -> --score-best is read by script.js
(scoreColor()), which writes inline colours — so re-keying those two
tokens re-keys every score in the board, and the column max comes out
as the brightest number (monochrome ramp, no second hue).
========================================================================== */
:root {
/* value scale — neutral grey, no blue cast */
--bg-0: #1b1c1e;
--bg-1: #212227;
/* type colours */
--ink: #f4f5f7;
--muted: #8d929b;
--muted-2: #6a6f78;
/* hairlines */
--line: rgba(255, 255, 255, 0.11);
--line-strong: rgba(255, 255, 255, 0.28);
/* ONE accent (Swiss red). Swap these three to re-key the whole identity. */
--accent: #ff3b30;
--accent-2: #ff6a60;
--accent-soft: rgba(255, 59, 48, 0.55);
/* data marks: was lime. Now ink, so the table reads as numbers + one accent. */
--green: var(--ink);
--success: var(--ink);
/* rank hierarchy without the medal palette */
--gold: var(--accent);
--silver: var(--ink);
--bronze: var(--muted);
/* surfaces */
--card-bg: var(--bg-0);
--card-bg-hover: var(--bg-1);
--bg-warm: var(--bg-1);
/* geometry: square, flat, no elevation */
--radius: 0px;
--radius-sm: 0px;
--radius-pill: 0px;
--shadow-sm: none;
--t: 140ms ease;
/* score ramp — read by script.js for every score colour on the board */
--score-base: 141, 147, 158; /* muted grey */
--score-best: 244, 245, 247; /* ink */
/* the grid: page frame + 12 columns, used by the guides below */
--pad: 24px;
--grid-max: 1024px;
}
/* -------------------- BACKGROUND -------------------- */
/* Flat field. The starfield canvas keeps its box (script.js sizes against it)
but stops being drawn; the 12-column guides take its place. */
.space-bg {
background: linear-gradient(180deg, #17181a 0%, var(--bg-0) 34%, #202124 100%);
}
.space-bg::after {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: max(var(--pad), calc((100% - var(--grid-max)) / 2));
right: max(var(--pad), calc((100% - var(--grid-max)) / 2));
background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
background-size: calc(100% / 12) 100%;
-webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.25) 45%, transparent 78%);
mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.25) 45%, transparent 78%);
pointer-events: none;
}
.stars { visibility: hidden; }
/* -------------------- MOTION -------------------- */
/* Entrances settle instantly; the headline rotator still swaps words, it just
snaps instead of rolling. */
.fade, .anim {
opacity: 1;
animation: none;
}
.rotating-headline { transition: none; }
.rotating-headline.rolling-out,
.rotating-headline.rolling-in { transform: none; }
/* -------------------- TYPOGRAPHY -------------------- */
.hero h1 {
font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-style: normal;
font-weight: 700;
letter-spacing: -0.035em;
color: var(--ink);
text-shadow: none;
}
.subtitle {
color: var(--muted);
font-weight: 400;
text-shadow: none;
}
.subtitle strong { color: var(--ink); }
.eyebrow {
font-size: 0.7rem;
font-weight: 600;
letter-spacing: 0.16em;
color: var(--muted-2);
}
.eyebrow a { color: var(--accent); }
.eyebrow a:hover { color: var(--accent-2); }
.eyebrow-sep { color: var(--muted-2); }
/* Section headings: same treatment as the hero, rule above, no serif. */
.section-heading {
align-items: center;
padding-bottom: 10px;
border-bottom: 1px solid var(--line-strong);
margin-bottom: 0.9rem;
}
.section-heading h2 {
font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-style: normal;
font-weight: 700;
font-size: 1.05rem;
letter-spacing: -0.02em;
color: var(--ink);
}
.section-heading .section-note {
font-size: 0.7rem;
color: var(--muted-2);
letter-spacing: 0.02em;
}
a { color: var(--accent); }
a:hover { color: var(--accent-2); }
/* -------------------- CONTROLS -------------------- */
.chip {
background: transparent;
border: 1px solid var(--line);
border-radius: 0;
color: var(--text, var(--muted));
font-size: 0.78rem;
font-weight: 500;
letter-spacing: 0.02em;
padding: 7px 14px;
backdrop-filter: none;
-webkit-backdrop-filter: none;
box-shadow: none;
}
.chip:hover {
border-color: var(--line-strong);
color: var(--ink);
background: rgba(255, 255, 255, 0.04);
box-shadow: none;
}
.chip.active {
background: var(--accent);
border-color: var(--accent);
color: #ffffff;
font-weight: 600;
}
.chip .chip-note {
border: 0;
background: transparent;
color: inherit;
opacity: 0.7;
font-size: 0.68rem;
padding: 0;
margin-left: 6px;
letter-spacing: 0.04em;
font-variant-numeric: tabular-nums;
}
.chip.active .chip-note {
background: transparent;
border-color: transparent;
color: inherit;
opacity: 0.85;
}
.search-pill,
.sort-pill {
background: var(--bg-1);
border: 1px solid var(--line);
border-radius: 0;
box-shadow: none;
backdrop-filter: none;
-webkit-backdrop-filter: none;
}
.search-pill:hover,
.sort-pill:hover {
border-color: var(--line-strong);
background: var(--bg-1);
}
.search-pill:focus-within,
.sort-pill:focus-within,
.sort-pill.open {
border-color: var(--accent);
background: var(--bg-1);
box-shadow: none;
}
.search-pill input { color: var(--ink); }
.search-pill input::placeholder { color: var(--muted-2); }
.sort-label {
font-size: 0.68rem;
font-weight: 600;
letter-spacing: 0.16em;
color: var(--muted-2);
}
.sort-trigger { color: var(--ink); font-weight: 500; }
.sort-trigger:hover,
.sort-trigger:focus-visible { color: var(--accent); }
.sort-chevron { color: var(--muted-2); }
.sort-pill.open .sort-chevron { color: var(--accent); }
.sort-trigger:hover .sort-chevron { color: var(--accent); }
.sort-menu {
background: var(--bg-1);
border: 1px solid var(--line-strong);
border-radius: 0;
box-shadow: none;
backdrop-filter: none;
-webkit-backdrop-filter: none;
padding: 6px;
transition: opacity 0.12s ease;
transform: none;
}
.sort-menu:not([hidden]).show { transform: none; }
.sort-menu li {
border-radius: 0;
color: var(--muted);
font-size: 0.82rem;
}
.sort-menu li:hover,
.sort-menu li.active {
background: rgba(255, 59, 48, 0.12);
color: var(--ink);
}
.sort-menu li.selected { color: var(--accent); }
.sort-menu li.selected::after { color: var(--accent); }
/* -------------------- TABLE -------------------- */
.table-card {
background: var(--bg-0);
border: 1px solid var(--line);
border-radius: 0;
box-shadow: none;
backdrop-filter: none;
-webkit-backdrop-filter: none;
}
.table-scroll::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.22);
border-radius: 0;
}
th {
background: var(--bg-1);
backdrop-filter: none;
-webkit-backdrop-filter: none;
border-bottom: 1px solid var(--line-strong);
color: var(--muted-2);
font-size: 0.68rem;
font-weight: 600;
letter-spacing: 0.16em;
padding: 11px 14px;
}
td {
border-bottom: 1px solid var(--line);
padding: 10px 14px;
color: var(--ink);
}
tbody tr.model-row { transition: background var(--t); }
tbody tr.model-row:hover { background: var(--bg-1); }
tr.open td { background: var(--bg-1); }
.rank {
color: var(--muted-2);
font-size: 0.8rem;
font-weight: 600;
}
.rank-1 { color: var(--accent); font-weight: 700; }
.rank-2 { color: var(--ink); font-weight: 700; }
.rank-3 { color: var(--muted); font-weight: 700; }
.model-cell a { color: var(--ink); font-weight: 600; }
.model-cell a:hover { color: var(--accent); }
/* script.js writes orgTag() colours as inline styles (a 7-hue hash), which no
stylesheet can override without !important. In a Swiss table those seven
hues are the loudest thing on the board, so the tag is keyed to read as a
quiet label: the hash still shows through as a small square — a data mark,
not a colour scheme — and the text stays ink. */
.org-tag {
border-radius: 0 !important;
font-size: 0.68rem;
font-weight: 600;
letter-spacing: 0.06em;
text-transform: uppercase;
padding: 2px 8px;
background: transparent !important;
border-color: var(--line) !important;
color: var(--ink) !important;
}
.org-tag .dot {
width: 6px;
height: 6px;
border-radius: 0;
opacity: 0.9;
}
td.score { font-weight: 500; }
/* Best value per column.
Two mechanisms meet here: the main table gets *inline* ramp colours from
script.js (scoreColor() interpolates --score-base -> --score-best, so the
column max is already the brightest number and can't be re-coloured from
CSS), while the text-to-image table colours by class. Both therefore land
on the same rule: best = ink, the top of the ramp. Weight adds a second,
greyscale-safe channel — one loudest number per column, no extra hue. */
td.score.best,
td.score.best.composite {
color: var(--ink);
font-weight: 700;
}
.m-score .v.best,
.t2i-m-score .v.best,
.m-score.composite .v.best,
.t2i-m-score.composite .v.best {
color: var(--ink);
font-weight: 700;
}
td.score .na { color: var(--muted-2); font-style: normal; }
.expand-hint { color: var(--muted-2); transition: none; }
tr.open .expand-hint { transform: none; color: var(--accent); }
/* -------------------- EXPANDED DETAIL ROW -------------------- */
tr.detail-row td {
background: var(--bg-1);
border-bottom: 1px solid var(--line-strong);
padding: 18px;
backdrop-filter: none;
-webkit-backdrop-filter: none;
}
.detail-block h4 {
color: var(--muted-2);
font-size: 0.68rem;
font-weight: 600;
letter-spacing: 0.16em;
}
.mode-chip {
border: 1px solid var(--line);
border-radius: 0;
background: transparent;
box-shadow: none;
color: var(--muted);
font-size: 0.74rem;
}
.mode-chip b { color: var(--ink); }
.cat-table td { font-size: 0.76rem; }
.cat-bar,
.tier-bar {
border-radius: 0;
background: rgba(255, 255, 255, 0.09);
}
.cat-bar i,
.tier-bar i {
border-radius: 0;
background: var(--ink);
}
/* -------------------- MOBILE CARDS -------------------- */
.m-card {
border-bottom: 1px solid var(--line);
transition: none;
}
.m-card:hover { background: var(--bg-1); }
.m-card:active,
.t2i-m-card:active { background: var(--bg-1); }
.m-card-top a,
.t2i-m-card-top a { color: var(--ink); font-weight: 600; }
.m-card-meta .params,
.t2i-m-card-meta .params,
.t2i-m-card-meta .res,
.t2i-m-card-meta .date { color: var(--muted-2); }
.m-score,
.t2i-m-score {
background: transparent;
border: 1px solid var(--line);
border-radius: 0;
backdrop-filter: none;
-webkit-backdrop-filter: none;
}
.m-score .k,
.t2i-m-score .k {
color: var(--muted-2);
font-size: 0.6rem;
font-weight: 600;
letter-spacing: 0.16em;
}
.m-score .v,
.t2i-m-score .v { color: var(--ink); }
.m-card .expand-hint,
.t2i-m-card .expand-hint { color: var(--muted-2); transition: none; }
.m-card.open .expand-hint,
.t2i-m-card.open .expand-hint { transform: none; color: var(--accent); }
.m-card-detail,
.t2i-m-card-detail { border-top: 1px solid var(--line); }
.t2i-m-card { border-bottom: 1px solid var(--line); transition: none; }
/* Composite score column. The base layer tinted it --accent-2 (a second blue)
to mark it as the headline metric. Rather than spend the single accent on a
whole column, the headline column gets *weight* — and the accent stays for
the best value, so the two signals don't collapse into one red. */
td.score.composite { color: var(--ink); font-weight: 600; }
.m-score.composite .v,
.t2i-m-score.composite .v { color: var(--ink); font-weight: 600; }
/* (best-value and headline-column rules live with td.score, above) */
/* -------------------- CAPABILITY PANEL / RADAR / TIERS -------------------- */
.capability-panel {
background: var(--bg-0);
border: 1px solid var(--line);
border-radius: 0;
backdrop-filter: none;
-webkit-backdrop-filter: none;
box-shadow: none;
padding: 18px;
}
.radar-ring { stroke: var(--line); }
.radar-spoke { stroke: var(--line); }
.radar-fill {
fill: rgba(244, 245, 247, 0.10);
stroke: var(--ink);
stroke-width: 1.5;
}
.radar-label {
fill: var(--ink);
font-family: Inter, sans-serif;
font-size: 7.5px;
font-weight: 600;
letter-spacing: 0.04em;
stroke: var(--bg-0);
stroke-width: 2px;
}
.radar-empty { color: var(--muted); font-style: normal; font-size: 0.8rem; }
.tier-name {
font-size: 0.62rem;
font-weight: 600;
letter-spacing: 0.16em;
color: var(--muted-2);
}
.tier-val { color: var(--muted); font-size: 0.76rem; }
/* -------------------- CHARTS -------------------- */
/* script.js builds both charts from var()s, so the tokens above already
re-key the bars, dots, axes and labels. Only the chrome needs a pass. */
.chart-card {
background: var(--bg-0);
border: 1px solid var(--line);
border-radius: 0;
box-shadow: none;
backdrop-filter: none;
-webkit-backdrop-filter: none;
}
.chart-title {
color: var(--muted-2);
font-size: 0.68rem;
font-weight: 600;
letter-spacing: 0.16em;
padding: 14px 14px 6px;
}
.chart-body { padding: 4px 10px 10px; }
/* -------------------- CHART MARKS -------------------- */
/* script.js emits an internal <style> inside each SVG setting `.bar-fill` to
--accent and `.bar-fill.best` to --green. Left alone that would paint every
bar Swiss red and the leader white — the opposite of the hierarchy. Two
class selectors beat the SVG's single-class rule, so: data goes neutral,
the accent marks the one leader, and the regression line is annotation
grey rather than a second highlight. */
.chart-svg .bar-fill { fill: var(--ink); }
.chart-svg .bar-fill.best { fill: var(--accent); }
.chart-svg .bar-text { fill: var(--muted); font-family: Inter, sans-serif; }
.chart-svg .scat-dot { fill: var(--ink); }
.chart-svg .scat-line { stroke: var(--muted-2); }
.chart-svg .scat-label,
.chart-svg .scat-title { fill: var(--muted-2); font-family: Inter, sans-serif; }
/* -------------------- HOWTO / EMPTY / FOOTER -------------------- */
#empty-state { text-align: left; padding: 2.4rem 0; }
.empty-title { color: var(--ink); font-weight: 600; }
.empty-sub { color: var(--muted); margin-left: 0; margin-right: 0; }
.empty-sub code,
.howto code {
background: rgba(255, 255, 255, 0.06);
border: 1px solid var(--line);
border-radius: 0;
padding: 1px 6px;
}
#t2i-empty,
#ext-empty { color: var(--muted); font-size: 0.84rem; }
.linklike { color: var(--accent); }
.linklike:hover { color: var(--accent-2); text-decoration: underline; }
.howto details {
background: var(--bg-0);
border: 1px solid var(--line);
border-radius: 0;
backdrop-filter: none;
-webkit-backdrop-filter: none;
box-shadow: none;
transition: border-color var(--t);
}
.howto details:hover {
border-color: var(--line-strong);
background: var(--bg-0);
}
.howto summary {
color: var(--ink);
font-size: 0.85rem;
font-weight: 500;
}
/* square marker instead of the '›' caret */
.howto summary::before {
content: '';
width: 8px;
height: 8px;
border: 1px solid var(--accent);
box-sizing: border-box;
transition: background var(--t);
flex-shrink: 0;
}
.howto details[open] summary::before {
transform: none;
background: var(--accent);
}
.howto-content { transition: none; }
.howto details[open] .howto-content { opacity: 1; }
.howto p { color: var(--muted); }
.howto pre {
background: #141517;
border: 1px solid var(--line);
border-radius: 0;
color: var(--text, var(--muted));
}
.foot {
border-top: 1px solid var(--line);
color: var(--muted-2);
font-size: 0.68rem;
font-weight: 600;
letter-spacing: 0.16em;
text-transform: uppercase;
}
.foot a { color: var(--muted); }
.foot a:hover { color: var(--accent); }
/* Rule, not a glow. */
.section-divider .line {
height: 1px;
background: var(--line-strong);
}
/* -------------------- LITERAL-COLOUR OVERRIDES -------------------- */
/* Values hardcoded in the base layer that the token swap can't reach. */
.search-pill:focus-within,
.sort-pill:focus-within,
.sort-pill.open {
box-shadow: none;
}
.sort-menu li:hover,
.sort-menu li.active {
background: rgba(255, 59, 48, 0.12);
}
/* The Tailwind CDN class on <body> (selection:bg-[rgba(124,156,255,0.35)])
out-specifies a bare ::selection, so this one needs the flag. */
::selection {
background: rgba(255, 59, 48, 0.34) !important;
color: #ffffff !important;
}
/* -------------------- BREAKPOINTS -------------------- */
@media (max-width: 768px) {
:root { --pad: 16px; }
.section-heading { align-items: baseline; }
}
@media (max-width: 640px) {
.table-card { border-left: 0; border-right: 0; }
.m-card { padding: 1rem 0; }
.t2i-m-card { padding: 1rem 0; }
.chip { padding: 7px 12px; }
}
|