Spaces:
Sleeping
Sleeping
File size: 24,595 Bytes
20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 0f2583c 20a47b1 | 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 | /* ══════════════════════════════════════════
NegotiArena Dashboard — Polished CSS with Animations
══════════════════════════════════════════ */
:root {
--bg: #0D1117;
--bg2: #131920;
--surface: #1A2030;
--surface2:#1F2840;
--border: rgba(255,255,255,0.09);
--border2: rgba(255,255,255,0.16);
--blue: #60A5FA;
--cyan: #22D3EE;
--green: #34D399;
--amber: #FBBF24;
--red: #F87171;
--purple:#A78BFA;
--text: #F0F4F8;
--text2: #94A3B8;
--text3: #5A6880;
--mono: 'JetBrains Mono', monospace;
--sans: 'Space Grotesk', sans-serif;
--r: 12px;
--shadow: 0 2px 16px rgba(0,0,0,0.4);
/* Animation timings */
--transition-fast: 0.15s cubic-bezier(0.2, 0.9, 0.4, 1.1);
--transition-base: 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
--transition-slow: 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
--ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
background: var(--bg);
color: var(--text);
font-family: var(--sans);
min-height: 100vh;
overflow-x: hidden;
line-height: 1.6;
}
/* ══ APP SHELL ══ */
.app { display: flex; min-height: 100vh; }
/* ══ SIDEBAR ══ */
.sidebar {
width: 220px;
flex-shrink: 0;
background: var(--bg2);
border-right: 1px solid var(--border);
display: flex;
flex-direction: column;
padding: 20px 12px;
gap: 4px;
position: sticky;
top: 0;
height: 100vh;
overflow-y: auto;
}
.brand {
display: flex;
align-items: center;
gap: 12px;
padding: 6px 4px 18px;
border-bottom: 1px solid var(--border);
margin-bottom: 10px;
}
.brand-icon {
width: 40px; height: 40px;
background: rgba(96,165,250,0.1);
border: 1px solid rgba(96,165,250,0.22);
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
transition: transform var(--transition-base);
}
.brand:hover .brand-icon { transform: scale(1.02); }
.brand-icon svg { transition: transform var(--transition-base); }
.brand:hover .brand-icon svg { transform: rotate(3deg); }
.brand-name { font-size: 16px; font-weight: 700; color: var(--text); line-height: 1.2; }
.brand-sub { font-size: 11px; color: var(--text3); margin-top: 2px; }
.nav-label {
font-size: 11px;
font-weight: 600;
letter-spacing: 1.2px;
text-transform: uppercase;
color: var(--text3);
padding: 4px 8px;
margin-top: 4px;
margin-bottom: 4px;
}
.nav { display: flex; flex-direction: column; gap: 3px; }
.nav-item {
display: flex;
align-items: center;
gap: 10px;
padding: 11px 12px;
border-radius: 9px;
border: 1px solid transparent;
background: transparent;
color: var(--text2);
font-family: var(--sans);
font-size: 15px;
font-weight: 500;
cursor: pointer;
transition: all var(--transition-fast);
text-align: left;
width: 100%;
position: relative;
overflow: hidden;
}
.nav-item::after {
content: '';
position: absolute;
left: 0;
bottom: 0;
width: 0%;
height: 2px;
background: var(--blue);
transition: width var(--transition-base);
}
.nav-item:hover::after { width: 30%; }
.nav-item.active::after { width: 100%; }
.nav-item:hover { background: rgba(255,255,255,0.05); color: var(--text); }
.nav-item.active {
background: rgba(96,165,250,0.12);
border-color: rgba(96,165,250,0.22);
color: var(--blue);
font-weight: 600;
}
.nav-item svg { flex-shrink: 0; opacity: 0.75; transition: transform var(--transition-fast); }
.nav-item:hover svg { transform: translateX(2px); }
.nav-item.active svg { opacity: 1; }
.sidebar-footer {
margin-top: auto;
padding-top: 14px;
border-top: 1px solid var(--border);
display: flex;
flex-direction: column;
gap: 8px;
}
.status-row {
display: flex;
align-items: center;
gap: 8px;
font-size: 13px;
color: var(--text3);
}
.dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dot.green { background: var(--green); box-shadow: 0 0 6px var(--green); animation: pulseGreen 2s ease-in-out infinite; }
.dot.amber { background: var(--amber); animation: blink 2s ease infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.35} }
@keyframes pulseGreen { 0%,100%{opacity:1; box-shadow:0 0 0px var(--green);} 50%{opacity:0.7; box-shadow:0 0 6px var(--green);} }
/* ══ MAIN ══ */
.main { flex: 1; min-width: 0; }
.page { display: none; padding: 30px 34px; }
.page.active { display: block; animation: pageFadeIn 0.35s var(--ease-spring); }
@keyframes pageFadeIn {
0% { opacity: 0; transform: translateY(8px); }
100% { opacity: 1; transform: translateY(0); }
}
.page-header { margin-bottom: 26px; }
.page-header h1 {
font-size: 26px;
font-weight: 800;
color: var(--text);
letter-spacing: -0.4px;
line-height: 1.25;
}
.page-header p {
font-size: 15px;
color: var(--text2);
margin-top: 5px;
}
/* ══ CARD ══ */
.card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--r);
padding: 20px 22px;
box-shadow: var(--shadow);
transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-fast);
}
.card:hover {
transform: translateY(-3px);
box-shadow: 0 12px 28px -8px rgba(0,0,0,0.5);
border-color: rgba(96,165,250,0.25);
}
.card-title {
font-size: 12px;
font-weight: 700;
letter-spacing: 0.8px;
text-transform: uppercase;
color: var(--text2);
margin-bottom: 14px;
display: flex;
align-items: center;
gap: 10px;
}
.chart-hint {
font-size: 12px;
color: var(--text3);
margin-bottom: 8px;
font-style: italic;
}
.section-label {
font-size: 12px;
font-weight: 600;
color: var(--text3);
margin-bottom: 4px;
line-height: 1.5;
}
/* ══ TWO-COL ══ */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
/* ══ METRICS STRIP ══ */
.metrics-strip {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 12px;
margin-bottom: 20px;
}
.metric-card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--r);
padding: 16px;
text-align: center;
transition: all var(--transition-base);
}
.metric-card:hover {
transform: translateY(-4px);
background: rgba(96,165,250,0.05);
border-color: rgba(96,165,250,0.3);
}
.metric-val {
font-family: var(--mono);
font-size: 26px;
font-weight: 700;
line-height: 1;
letter-spacing: -0.5px;
}
.metric-val.blue { color: var(--blue); }
.metric-val.green { color: var(--green); }
.metric-val.cyan { color: var(--cyan); }
.metric-val.amber { color: var(--amber); }
.metric-key {
font-size: 11px;
color: var(--text3);
text-transform: uppercase;
letter-spacing: 0.5px;
margin-top: 6px;
line-height: 1.4;
}
/* ══ OVERVIEW ANIMATIONS ══ */
.page.active #page-overview .hero-card,
.page.active #page-overview .card,
.page.active #page-overview .why-item {
animation: fadeSlideUp 0.5s var(--ease-spring) forwards;
opacity: 0;
}
.page.active #page-overview .hero-card { animation-delay: 0.05s; }
.page.active #page-overview .card:first-of-type { animation-delay: 0.1s; }
.page.active #page-overview .two-col .card:first-child { animation-delay: 0.2s; }
.page.active #page-overview .two-col .card:last-child { animation-delay: 0.3s; }
.page.active #page-overview .why-grid .why-item:nth-child(1) { animation-delay: 0.4s; }
.page.active #page-overview .why-grid .why-item:nth-child(2) { animation-delay: 0.48s; }
.page.active #page-overview .why-grid .why-item:nth-child(3) { animation-delay: 0.56s; }
.page.active #page-overview .why-grid .why-item:nth-child(4) { animation-delay: 0.64s; }
@keyframes fadeSlideUp {
0% { opacity: 0; transform: translateY(18px); }
100% { opacity: 1; transform: translateY(0); }
}
/* Steps staggered */
.steps-flow .step-item {
opacity: 0;
animation: stepReveal 0.45s var(--ease-spring) forwards;
}
.steps-flow .step-item:nth-child(1) { animation-delay: 0.05s; }
.steps-flow .step-item:nth-child(3) { animation-delay: 0.12s; }
.steps-flow .step-item:nth-child(5) { animation-delay: 0.19s; }
.steps-flow .step-item:nth-child(7) { animation-delay: 0.26s; }
.steps-flow .step-item:nth-child(9) { animation-delay: 0.33s; }
@keyframes stepReveal {
0% { opacity: 0; transform: scale(0.95) translateY(8px); }
100% { opacity: 1; transform: scale(1) translateY(0); }
}
/* Hero cards */
.hero-cards {
display: flex;
align-items: stretch;
gap: 14px;
margin-bottom: 20px;
}
.hero-arrow {
font-size: 32px;
color: var(--text3);
display: flex;
align-items: center;
flex-shrink: 0;
padding: 0 4px;
animation: gentlePulse 2s ease-in-out infinite;
}
@keyframes gentlePulse {
0%, 100% { opacity: 0.6; transform: translateX(0); }
50% { opacity: 1; transform: translateX(4px); }
}
.hero-card {
flex: 1;
border-radius: var(--r);
padding: 24px 26px;
border: 1px solid var(--border);
transition: transform var(--transition-base), border-color var(--transition-fast), box-shadow var(--transition-base);
}
.hero-card:hover {
transform: translateY(-4px) scale(1.01);
border-color: rgba(96,165,250,0.5);
box-shadow: 0 20px 30px -12px rgba(0,0,0,0.6);
}
.hero-card.problem {
background: rgba(248,113,113,0.06);
border-color: rgba(248,113,113,0.18);
}
.hero-card.solution {
background: rgba(52,211,153,0.06);
border-color: rgba(52,211,153,0.18);
}
.hero-card-label {
font-size: 11px;
font-weight: 700;
letter-spacing: 1.5px;
text-transform: uppercase;
color: var(--text3);
margin-bottom: 8px;
}
.hero-card h3 {
font-size: 19px;
font-weight: 700;
color: var(--text);
margin-bottom: 10px;
line-height: 1.3;
}
.hero-card p { font-size: 14px; color: var(--text2); line-height: 1.7; }
.hero-card strong { color: var(--text); }
.hero-card em { color: var(--cyan); font-style: normal; font-weight: 600; }
/* Steps flow */
.steps-flow {
display: flex;
align-items: flex-start;
gap: 6px;
flex-wrap: wrap;
}
.step-item {
flex: 1;
text-align: center;
padding: 16px 10px;
background: rgba(255,255,255,0.03);
border: 1px solid var(--border);
border-radius: 10px;
transition: all var(--transition-fast);
}
.step-item:hover {
transform: translateY(-2px);
background: rgba(96,165,250,0.08);
border-color: rgba(96,165,250,0.3);
}
.step-connector {
font-size: 22px;
color: var(--text3);
display: flex;
align-items: center;
padding-top: 24px;
flex-shrink: 0;
}
.step-circle {
width: 26px; height: 26px;
border-radius: 50%;
background: rgba(96,165,250,0.15);
color: var(--blue);
font-size: 12px;
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 8px;
font-family: var(--mono);
transition: transform var(--transition-fast), background var(--transition-fast);
}
.step-item:hover .step-circle {
transform: scale(1.1);
background: rgba(96,165,250,0.3);
}
.step-name { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.step-desc { font-size: 12px; color: var(--text2); line-height: 1.5; }
/* Results list */
.results-list { display: flex; flex-direction: column; gap: 12px; }
.result-row {
display: flex;
align-items: flex-start;
gap: 12px;
padding: 4px;
transition: all var(--transition-fast);
cursor: default;
border-radius: 12px;
}
.result-row:hover {
background: rgba(96,165,250,0.04);
transform: translateX(4px);
}
.result-badge {
font-family: var(--mono);
font-size: 18px;
font-weight: 700;
min-width: 64px;
text-align: center;
padding: 8px 5px;
border-radius: 8px;
flex-shrink: 0;
line-height: 1;
transition: transform var(--transition-fast);
}
.result-row:hover .result-badge { transform: scale(1.05); }
.result-badge.green { color: var(--green); background: rgba(52,211,153,0.1); }
.result-badge.blue { color: var(--blue); background: rgba(96,165,250,0.1); }
.result-badge.amber { color: var(--amber); background: rgba(251,191,36,0.1); }
.result-badge.cyan { color: var(--cyan); background: rgba(34,211,238,0.1); }
.result-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.result-desc { font-size: 13px; color: var(--text2); line-height: 1.5; }
/* Score list */
.score-list { display: flex; flex-direction: column; gap: 8px; }
.score-item {
display: flex;
align-items: flex-start;
gap: 12px;
padding: 10px 12px;
border-radius: 9px;
border: 1px solid var(--border);
transition: all var(--transition-fast);
}
.score-item:hover {
transform: translateX(6px);
background: rgba(96,165,250,0.08);
}
.score-item.positive { background: rgba(52,211,153,0.05); border-color: rgba(52,211,153,0.14); }
.score-item.negative { background: rgba(248,113,113,0.05); border-color: rgba(248,113,113,0.14); }
.score-pts {
font-family: var(--mono);
font-size: 15px;
font-weight: 700;
color: var(--green);
min-width: 58px;
flex-shrink: 0;
transition: transform var(--transition-fast);
}
.score-item:hover .score-pts { transform: scale(1.02); }
.score-pts.neg { color: var(--red); }
.score-action { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.score-why { font-size: 12px; color: var(--text2); }
/* Why grid */
.why-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 14px;
}
.why-item {
padding: 16px 18px;
background: rgba(255,255,255,0.03);
border: 1px solid var(--border);
border-radius: 10px;
transition: all var(--transition-base);
}
.why-item:hover {
transform: translateY(-3px);
background: rgba(96,165,250,0.08);
border-color: rgba(96,165,250,0.3);
}
.why-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.why-desc { font-size: 13px; color: var(--text2); line-height: 1.6; }
/* Simulation page */
.diff-panel {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--r);
padding: 18px 20px;
margin-bottom: 16px;
}
.diff-panel-title {
font-size: 12px;
font-weight: 700;
color: var(--text2);
text-transform: uppercase;
letter-spacing: 0.7px;
margin-bottom: 12px;
}
.diff-btns-row {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 8px;
}
.diff-btn {
display: flex;
align-items: center;
gap: 10px;
padding: 12px 14px;
border-radius: 10px;
border: 1px solid var(--border);
background: rgba(255,255,255,0.03);
color: var(--text2);
font-family: var(--sans);
cursor: pointer;
transition: all var(--transition-fast);
text-align: left;
}
.diff-btn:hover {
transform: translateY(-2px);
border-color: var(--blue);
background: rgba(96,165,250,0.1);
}
.diff-btn.active {
background: rgba(96,165,250,0.1);
border-color: rgba(96,165,250,0.28);
color: var(--text);
animation: btnPop 0.3s var(--ease-spring);
}
@keyframes btnPop {
0% { transform: scale(0.96); }
100% { transform: scale(1); }
}
.diff-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.diff-name { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.diff-hint { font-size: 11px; color: var(--text3); line-height: 1.4; }
.sim-step-label {
font-size: 12px;
font-weight: 700;
color: var(--text2);
text-transform: uppercase;
letter-spacing: 0.7px;
margin-bottom: 8px;
}
.sim-controls { margin-bottom: 12px; }
.sim-btns {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
}
.btn-primary, .btn-secondary, .btn-danger, .gate-btn {
transition: all var(--transition-fast);
position: relative;
overflow: hidden;
cursor: pointer;
}
.btn-primary:hover, .gate-btn:hover {
transform: translateY(-2px);
filter: brightness(1.05);
box-shadow: 0 6px 14px rgba(96,165,250,0.25);
}
.btn-secondary:hover {
transform: translateY(-1px);
border-color: var(--blue);
color: var(--blue);
}
.btn-danger:hover {
transform: translateY(-1px);
background: rgba(248,113,113,0.12);
}
.btn-primary {
padding: 11px 22px;
border-radius: 9px;
border: none;
background: var(--blue);
color: #0D1117;
font-family: var(--sans);
font-size: 14px;
font-weight: 700;
}
.btn-secondary {
padding: 10px 18px;
border-radius: 9px;
border: 1px solid var(--border2);
background: transparent;
color: var(--text2);
font-family: var(--sans);
font-size: 14px;
font-weight: 600;
}
.btn-danger {
padding: 10px 18px;
border-radius: 9px;
border: 1px solid rgba(248,113,113,0.3);
background: transparent;
color: var(--red);
font-family: var(--sans);
font-size: 14px;
font-weight: 600;
}
.sim-info {
margin-left: auto;
font-size: 13px;
color: var(--text3);
font-family: var(--mono);
}
.sim-info strong { color: var(--text2); }
.progress-bar {
height: 3px;
background: var(--border);
border-radius: 2px;
margin-bottom: 18px;
overflow: hidden;
}
.progress-fill {
height: 100%;
background: linear-gradient(90deg, var(--blue), var(--cyan));
width: 0%;
transition: width 0.2s cubic-bezier(0.2, 0.9, 0.4, 1.1);
border-radius: 2px;
}
.sim-grid {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 14px;
margin-bottom: 14px;
align-items: start;
}
.sim-right { display: flex; flex-direction: column; gap: 12px; }
.transcript {
display: flex;
flex-direction: column;
gap: 8px;
max-height: 360px;
overflow-y: auto;
scrollbar-width: thin;
padding-right: 2px;
}
.turn-entry {
padding: 11px 13px;
border-radius: 9px;
background: rgba(255,255,255,0.03);
border: 1px solid var(--border);
opacity: 0;
transform: translateY(6px);
transition: opacity 0.35s var(--ease-spring), transform 0.35s var(--ease-spring);
}
.turn-entry.visible {
opacity: 1;
transform: translateY(0);
}
.turn-meta {
display: flex;
align-items: center;
gap: 7px;
margin-bottom: 5px;
}
.turn-agent {
font-family: var(--mono);
font-size: 11px;
font-weight: 600;
padding: 2px 7px;
border-radius: 4px;
}
.agent-a { background: rgba(96,165,250,0.15); color: var(--blue); }
.agent-b { background: rgba(34,211,238,0.15); color: var(--cyan); }
.agent-c { background: rgba(52,211,153,0.15); color: var(--green); }
.agent-d { background: rgba(251,191,36,0.15); color: var(--amber); }
.agent-e { background: rgba(167,139,250,0.15); color: var(--purple); }
.turn-num { font-size: 11px; color: var(--text3); font-family: var(--mono); }
.turn-resource { margin-left: auto; font-size: 12px; font-family: var(--mono); color: var(--cyan); font-weight: 600; }
.turn-msg { font-size: 13px; color: var(--text2); line-height: 1.55; }
.json-block {
background: rgba(0,0,0,0.4);
border: 1px solid var(--border);
border-radius: 8px;
padding: 12px 14px;
font-family: var(--mono);
font-size: 12px;
color: var(--cyan);
line-height: 1.65;
white-space: pre-wrap;
word-break: break-word;
max-height: 200px;
overflow-y: auto;
transition: background 0.2s;
}
.json-block:active { background: rgba(0,0,0,0.5); }
#detection-status { display: flex; flex-direction: column; gap: 6px; }
.ds-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 9px 12px;
background: rgba(255,255,255,0.03);
border: 1px solid var(--border);
border-radius: 8px;
font-size: 13px;
opacity: 0;
transform: translateX(-6px);
transition: opacity 0.3s var(--ease-spring), transform 0.3s var(--ease-spring);
}
.ds-item.visible {
opacity: 1;
transform: translateX(0);
}
.ds-key { color: var(--text3); font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; }
.ds-val { font-family: var(--mono); font-weight: 600; font-size: 12px; }
.badge-type {
margin-left: auto;
padding: 2px 9px;
border-radius: 5px;
font-size: 10px;
font-family: var(--mono);
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.8px;
}
.badge-coalition { background: rgba(248,113,113,0.12); color: var(--red); border: 1px solid rgba(248,113,113,0.25); }
.badge-no_coalition { background: rgba(52,211,153,0.12); color: var(--green); border: 1px solid rgba(52,211,153,0.25); }
.verdict {
background: rgba(96,165,250,0.05);
border: 1px solid rgba(96,165,250,0.18);
border-radius: var(--r);
padding: 20px 22px;
margin-bottom: 0;
opacity: 0;
transform: translateY(8px);
transition: opacity 0.4s ease, transform 0.4s ease;
}
.verdict.visible {
opacity: 1;
transform: translateY(0);
}
.verdict-label {
font-size: 14px;
font-weight: 700;
color: var(--blue);
margin-bottom: 14px;
}
.verdict-items {
display: grid;
grid-template-columns: repeat(7, 1fr);
gap: 10px;
}
.vg-item {
text-align: center;
opacity: 0;
transform: scale(0.85);
transition: opacity 0.3s var(--ease-spring), transform 0.3s var(--ease-spring);
}
.vg-item.visible {
opacity: 1;
transform: scale(1);
}
.vg-val {
font-family: var(--mono);
font-size: 20px;
font-weight: 700;
line-height: 1;
}
.vg-key {
font-size: 10px;
color: var(--text3);
text-transform: uppercase;
letter-spacing: 0.6px;
margin-top: 4px;
}
.analytics-gate {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 360px;
gap: 18px;
text-align: center;
}
.analytics-gate-icon {
width: 68px; height: 68px;
border-radius: 50%;
background: rgba(96,165,250,0.08);
border: 1px solid rgba(96,165,250,0.2);
display: flex; align-items: center; justify-content: center;
}
.analytics-gate-icon svg { animation: subtleSpin 8s infinite linear; }
@keyframes subtleSpin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.analytics-gate h3 { font-size: 19px; font-weight: 700; color: var(--text); }
.analytics-gate p { font-size: 14px; color: var(--text2); max-width: 400px; line-height: 1.6; }
.gate-btn {
padding: 12px 28px;
border-radius: 10px;
background: var(--blue);
color: #0D1117;
font-family: var(--sans);
font-size: 14px;
font-weight: 700;
border: none;
}
.table-wrap { overflow-x: auto; }
.data-table {
width: 100%;
border-collapse: collapse;
font-size: 14px;
}
.data-table th {
padding: 10px 14px;
text-align: left;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.8px;
text-transform: uppercase;
color: var(--text3);
border-bottom: 1px solid var(--border);
white-space: nowrap;
}
.data-table td {
padding: 13px 14px;
font-family: var(--mono);
font-size: 13px;
border-bottom: 1px solid rgba(255,255,255,0.04);
}
.data-table tr { transition: background var(--transition-fast); }
.data-table tr:hover td { background: rgba(255,255,255,0.02); }
.data-table td:first-child {
font-family: var(--sans);
font-weight: 600;
font-size: 14px;
color: var(--text);
}
.winner-tag {
margin-left: auto;
padding: 3px 12px;
background: rgba(52,211,153,0.1);
border: 1px solid rgba(52,211,153,0.25);
border-radius: 20px;
font-size: 11px;
color: var(--green);
font-weight: 700;
animation: gentleGlow 2s ease-in-out infinite;
}
@keyframes gentleGlow {
0%,100% { box-shadow: 0 0 0px rgba(52,211,153,0); }
50% { box-shadow: 0 0 6px rgba(52,211,153,0.5); }
}
.delta-pos { color: var(--green); }
.delta-neg { color: var(--red); }
.status-winner { color: var(--green); font-weight: 700; font-family: var(--sans); }
.status-baseline { color: var(--text3); font-family: var(--sans); }
.table-legend {
margin-top: 12px;
font-size: 12px;
color: var(--text3);
line-height: 1.5;
padding: 10px 14px;
background: rgba(255,255,255,0.02);
border-radius: 8px;
border: 1px solid var(--border);
}
.table-legend strong { color: var(--text2); }
/* Scrollbar */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 2px; transition: background 0.2s; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }
/* Responsive */
@media (max-width: 1100px) {
.metrics-strip { grid-template-columns: repeat(2, 1fr); }
.two-col { grid-template-columns: 1fr; }
.sim-grid { grid-template-columns: 1fr 1fr; }
.steps-flow { flex-wrap: wrap; }
.step-connector { display: none; }
.diff-btns-row { grid-template-columns: 1fr 1fr; }
.verdict-items { grid-template-columns: repeat(4, 1fr); }
.why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
.sidebar { width: 180px; }
.sim-grid { grid-template-columns: 1fr; }
.hero-cards { flex-direction: column; }
.hero-arrow { display: none; }
.page { padding: 20px 16px; }
} |