File size: 24,491 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 | 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 | /* 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; } |