Repository navigation
Expand file tree
/
Copy pathgrid.html
More file actions
2314 lines (2087 loc) · 110 KB
/
Copy pathgrid.html
File metadata and controls
2314 lines (2087 loc) · 110 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>GRID Predict · Mockup</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link id="brand-font" rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" />
<style>
/* ==========================================================================
Design tokens. Colors are overwritten at runtime from CONFIG.brand.colors
in the script below — edit the BRAND block, not these values.
========================================================================== */
:root {
--brand: #0407FF;
--brand-dark: #0305CC;
--brand-light: #5456FF;
--brand-tint: #F4F4FF;
--brand-on: #FFFFFF;
/* Fill vs ink. --brand paints surfaces (buttons, active pills) and carries
--brand-on as its label. --brand-ink is the same identity used as TEXT or
a CHART LINE, where a light brand color (a yellow, a cyan) would be
unreadable on a light page. Brands with a dark primary set both alike. */
--brand-ink: #0407FF;
--n-900: #0B0E14;
--n-800: #11171D;
--n-700: #202C37;
--n-600: #394960;
--n-500: #62768A;
--n-400: #99ADBD;
--n-300: #C4D0D9;
--n-250: #E5EBF5;
--n-200: #ECEFF2;
--n-150: #F3F5F7;
--n-100: #F9FAFB;
--n-0: #FFFFFF;
/* -700 is the TEXT shade (on its own -150 tint and on the page), -150 is the
button/tag fill, -200 is the hover and order-book depth bar. Every pair
here is measured; see the contrast checks in verify.js. */
--ok-700: #065F46;
--ok-500: #10B981;
--ok-200: #6EE7B7;
--ok-150: #A7F3D0;
--ok-100: #E3FBF0;
--no-700: #961616;
--no-600: #DC2626;
--no-500: #EF4444;
--no-200: #FCA5A5;
--no-150: #FDBDBD;
--warn-500: #F59E0B;
--warn-150: #FFF5CC;
--radius: 12px;
--radius-lg: 16px;
--shadow-card: 0 1px 2px rgba(15,23,42,.04);
--shadow-pop: 0 10px 30px rgba(15,23,42,.08);
--shadow-lift: 0 12px 34px rgba(15,23,42,.12);
--font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
--page-max: 1240px;
/* Chrome heights. The nav sticks below the mockup bar, so the offset is
derived from these rather than restated as a magic number that drifts
when a breakpoint changes one of them. */
--mockbar-h: 40px;
--nav-h: 64px;
/* The assistant's avatar disc. Its own identity rather than the venue's,
the way the real dock carries Truman's mark inside a partner's page.
Overridden from CONFIG.brand.assistant.avatar. */
--ai-from: #001F4D;
--ai-to: #0A3170;
/* The dock's own surface, a step away from the cards on the page so it
reads as floating over them rather than sitting among them. Light is
already at the top of the ramp, so there the separation is carried by the
backdrop instead. Both are set per theme in applyTheme. */
--ai-surface: #FFFFFF;
--ai-scrim: rgba(15, 23, 42, .18);
--ai-lift: 0 0 0 1px rgba(15, 23, 42, .05), 0 6px 14px -4px rgba(15, 23, 42, .20), 0 24px 50px -18px rgba(15, 23, 42, .40);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
font-family: var(--font);
background: var(--n-150);
color: var(--n-800);
-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
.tnum { font-variant-numeric: tabular-nums; }
/* ---------- mockup chrome (hidden with ?clean=1) --------------------------- */
.mockbar {
position: sticky; top: 0; z-index: 200;
display: flex; align-items: center; gap: 14px;
height: var(--mockbar-h); padding: 0 16px;
background: #10151c; color: #d7dee8;
font-size: 12px;
}
.mockbar__label { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #6f8299; font-size: 10px; }
.mockbar__tabs { display: flex; gap: 4px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.mockbar__tabs::-webkit-scrollbar { display: none; }
.mockbar__tab { flex: none; white-space: nowrap; color: #9fb0c4; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; transition: background .15s, color .15s; }
.mockbar__tab:hover { background: rgba(255,255,255,.06); color: #fff; }
.mockbar__tab.is-active { background: var(--brand); color: var(--brand-on); }
.mockbar__hint { margin-left: auto; color: #6f8299; font-size: 11px; }
.mockbar__hint code { background: rgba(255,255,255,.08); padding: 1px 5px; border-radius: 4px; }
body.is-clean .mockbar { display: none; }
/* ---------- app shell ------------------------------------------------------ */
.wrap { max-width: var(--page-max); margin: 0 auto; padding: 0 20px; }
.nav { background: var(--n-0); border-bottom: 1px solid var(--n-200); position: sticky; top: 0; z-index: 110; }
body:not(.is-clean) .nav { top: var(--mockbar-h); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.brandmark { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.brandmark__glyph {
width: 30px; height: 30px; border-radius: 9px;
display: grid; place-items: center;
background: var(--brand); color: var(--brand-on);
font-weight: 800; font-size: 13px; letter-spacing: -.02em; overflow: hidden;
}
.brandmark__glyph svg { width: 100%; height: 100%; display: block; }
.brandmark__lockup { height: 30px; display: flex; align-items: center; color: var(--n-800); }
.brandmark__lockup svg { height: 30px; width: auto; display: block; }
.brandmark__product { font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--brand-ink); padding: 3px 8px; border-radius: 5px; background: var(--brand-tint); }
.brandmark__text { font-size: 16px; font-weight: 700; letter-spacing: -.015em; color: var(--n-800); }
.brandmark__text em { font-style: normal; color: var(--brand-ink); }
.nav__links { display: flex; gap: 4px; }
.nav__link { padding: 7px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--n-600); transition: background .15s, color .15s; }
.nav__link:hover { background: var(--n-150); color: var(--n-800); }
.nav__link.is-active { color: var(--brand-ink); background: var(--brand-tint); font-weight: 600; }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav__balance { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; padding-right: 12px; border-right: 1px solid var(--n-200); }
.nav__balance b { font-size: 14px; font-weight: 700; color: var(--n-800); }
.themetoggle { display: flex; align-items: center; gap: 2px; background: var(--n-150); border: 1px solid var(--n-200); border-radius: 999px; padding: 3px; }
.themetoggle button { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; color: var(--n-500); transition: background .15s, color .15s; }
.themetoggle button:hover { color: var(--n-800); }
.themetoggle button.is-active { background: var(--n-0); color: var(--brand-ink); box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.themetoggle svg { width: 15px; height: 15px; }
.nav__burger { display: none; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--n-200); background: var(--n-0); color: var(--n-700); }
.nav__burger:hover { background: var(--n-150); color: var(--n-800); }
.nav__burger svg { width: 19px; height: 19px; }
.nav__burger .is-close { display: none; }
body.nav-open .nav__burger { background: var(--n-150); color: var(--n-800); }
body.nav-open .nav__burger .is-open { display: none; }
body.nav-open .nav__burger .is-close { display: block; }
.nav__balance span { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--n-500); }
/* ---------- buttons -------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 999px; font-size: 14px; font-weight: 600; padding: 9px 18px; transition: background .15s, color .15s, transform .1s; }
.btn:active { transform: scale(.975); }
.btn--brand { background: var(--brand); color: var(--brand-on); }
.btn--brand:hover { background: var(--brand-dark); }
.btn--ghost { background: var(--n-200); color: var(--n-800); }
.btn--ghost:hover { background: var(--n-300); }
.btn--outline { border: 1px solid var(--n-300); color: var(--n-700); background: var(--n-0); }
.btn--outline:hover { background: var(--n-100); }
.btn--block { width: 100%; min-height: 48px; font-size: 15px; }
.btn--yes { background: var(--ok-150); color: var(--ok-700); }
.btn--yes:hover { background: var(--ok-200); }
.btn--no { background: var(--no-150); color: var(--no-700); }
.btn--no:hover { background: var(--no-200); }
/* ---------- primitives ----------------------------------------------------- */
.card { background: var(--n-0); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.eyebrow { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--n-500); }
.pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 7px 15px; font-size: 13px; font-weight: 600; }
.pill--brand { background: color-mix(in srgb, var(--brand-ink) 12%, transparent); color: var(--brand-ink); }
.pill--neutral { background: var(--n-200); color: var(--n-800); }
.pill--muted { background: var(--n-200); color: var(--n-500); font-weight: 500; }
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 3px 9px; font-size: 10px; font-weight: 700; }
.badge--new { background: var(--ok-200); color: var(--ok-700); }
.badge--soon { background: var(--n-200); color: var(--n-600); }
.badge--resolved { background: var(--n-200); color: var(--n-600); }
.delta--up { color: var(--ok-700); }
.delta--down { color: var(--no-700); }
.divider { height: 1px; background: var(--n-200); }
.logo-chip { width: 40px; height: 40px; border-radius: 11px; flex: none; display: grid; place-items: center; background: var(--n-200); color: var(--n-700); font-weight: 700; font-size: 15px; letter-spacing: -.02em; outline: 1px solid rgba(0,0,0,.05); }
.logo-chip--lg { width: 52px; height: 52px; border-radius: 14px; font-size: 19px; }
.logo-chip--sm { width: 32px; height: 32px; border-radius: 9px; font-size: 12px; }
/* ---------- discovery ------------------------------------------------------ */
.disco { padding: 32px 0 128px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; padding: 28px; margin-bottom: 32px; border-radius: 20px; background: var(--n-0); box-shadow: var(--shadow-card); }
.hero__eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.hero__title { font-size: 30px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; margin: 0 0 10px; color: var(--n-800); }
.hero__sub { font-size: 15px; line-height: 1.55; color: var(--n-600); margin: 0 0 20px; }
.hero__stats { display: flex; gap: 28px; margin-bottom: 22px; }
.hero__stat b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--n-800); }
.hero__stat span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--n-500); }
.hero__cta { display: flex; gap: 10px; }
.hero__panel { background: var(--n-100); border: 1px solid var(--n-200); border-radius: var(--radius-lg); padding: 18px; display: flex; flex-direction: column; }
.hero__panelhead { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 16px; }
.hero__panelhead p { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--n-800); }
.hero__panelhead small { display: block; margin-top: 3px; font-size: 11px; font-weight: 500; color: var(--n-500); }
.controls { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.pills { display: flex; gap: 7px; flex-wrap: wrap; }
.pillbtn { padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--n-600); background: var(--n-0); border: 1px solid var(--n-200); transition: all .15s; }
.pillbtn:hover { border-color: var(--n-300); color: var(--n-800); }
.pillbtn.is-active { background: var(--brand); border-color: var(--brand); color: var(--brand-on); }
.search { margin-left: auto; display: flex; align-items: center; gap: 8px; background: var(--n-0); border: 1px solid var(--n-200); border-radius: 999px; padding: 8px 16px; min-width: 230px; color: var(--n-400); font-size: 13px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mcard { display: flex; flex-direction: column; gap: 14px; background: var(--n-0); border: 1px solid var(--n-200); border-radius: 18px; padding: 20px; transition: transform .2s, box-shadow .2s; }
.mcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.mcard__head { display: flex; align-items: flex-start; gap: 11px; }
.mcard__q { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--n-800); margin: 0; }
.mcard__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.mcard__stat { display: flex; flex-direction: column; gap: 6px; }
.mcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--n-200); padding-top: 12px; font-size: 12px; font-weight: 500; color: var(--n-500); }
.dist { display: flex; align-items: flex-end; gap: 3px; height: 52px; }
.dist__bar { flex: 1; border-radius: 4px 4px 2px 2px; background: color-mix(in srgb, var(--brand-ink) 22%, var(--n-200)); min-height: 4px; position: relative; }
.dist__bar.is-lead { background: var(--brand-ink); }
.dist--lg { height: 118px; gap: 6px; }
.dist--lg .dist__bar { border-radius: 6px 6px 3px 3px; }
.distlabels { display: flex; gap: 6px; margin-top: 8px; }
.distlabels span { flex: 1; text-align: center; font-size: 10px; font-weight: 600; color: var(--n-500); font-variant-numeric: tabular-nums; }
.distlabels span.is-lead { color: var(--brand-ink); }
/* ---------- market detail -------------------------------------------------- */
.detail { padding: 28px 0 128px; }
.detail__cols { display: grid; grid-template-columns: minmax(0,1fr) 372px; gap: 28px; align-items: start; }
.mhead { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.mhead__title { margin: 0 0 5px; font-size: 24px; font-weight: 700; letter-spacing: -.02em; color: var(--n-800); }
.mhead__q { margin: 0; font-size: 15px; line-height: 1.5; color: var(--n-600); max-width: 62ch; }
.mhead__meta { display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; border: 1px solid var(--n-200); background: var(--n-0); padding: 5px 12px; font-size: 12px; font-weight: 600; color: var(--n-600); }
.chip.is-active { border-color: var(--brand-ink); color: var(--brand-ink); background: var(--brand-tint); }
.chartcard { padding: 20px; margin-bottom: 26px; }
.chartcard__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 6px; }
.metrics { display: flex; gap: 26px; }
.metric b { display: block; font-size: 18px; font-weight: 700; letter-spacing: -.01em; color: var(--n-800); }
.metric span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--n-500); }
.ranges { display: flex; gap: 2px; background: var(--n-200); border-radius: 999px; padding: 3px; }
.ranges button { padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--n-600); }
.ranges button.is-active { background: var(--n-0); color: var(--n-800); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.chartwrap { position: relative; margin: 14px 0 6px; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 12px; border-top: 1px solid var(--n-200); }
.legend__item { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500; color: var(--n-600); }
.legend__dot { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.legend__val { font-weight: 700; color: var(--n-800); font-variant-numeric: tabular-nums; }
.sechead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sechead h2 { margin: 0; font-size: 15px; font-weight: 600; color: var(--n-800); }
.sechead span { font-size: 13px; font-weight: 600; color: var(--n-500); }
.ocard { background: var(--n-0); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 10px; transition: background .2s; }
.ocard:hover { background: var(--n-100); }
.ocard.is-open { background: var(--n-100); box-shadow: var(--shadow-pop); }
.ocard__main { display: flex; align-items: center; gap: 16px; }
.ocard__label { width: 31%; flex: none; font-size: 16px; font-weight: 600; color: var(--n-800); }
.ocard__chance { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; }
.ocard__chance b { font-size: 18px; font-weight: 700; color: var(--n-800); font-variant-numeric: tabular-nums; }
.ocard__chance small { font-size: 12px; font-weight: 600; }
.ocard__btns { width: 31%; flex: none; display: flex; gap: 8px; }
.ocard__btns .btn { flex: 1; min-height: 40px; }
.ocard__book { padding-top: 16px; }
.ocard__booktop { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--n-300); }
.ocard__booktop b { font-size: 14px; font-weight: 600; color: var(--n-800); }
.sidetoggle { display: flex; gap: 2px; background: var(--n-200); border-radius: 999px; padding: 4px; }
.sidetoggle button { padding: 4px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--n-600); }
.sidetoggle button.is-yes { background: var(--n-0); color: var(--ok-700); box-shadow: 0 1px 2px rgba(0,0,0,.07); }
.sidetoggle button.is-no { background: var(--n-0); color: var(--no-700); box-shadow: 0 1px 2px rgba(0,0,0,.07); }
/* ---------- order book ----------------------------------------------------- */
.book__head { display: flex; font-size: 11px; font-weight: 500; color: var(--n-500); padding-left: 52px; margin-bottom: 6px; }
.book__head div { flex: 1; }
.book__side { display: flex; align-items: stretch; }
.book__tag { width: 40px; flex: none; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.book__tag--ask { background: var(--no-200); color: var(--no-700); border-radius: 8px 8px 0 0; }
.book__tag--bid { background: var(--ok-150); color: var(--ok-700); border-radius: 0 0 8px 8px; }
.book__rows { margin-left: 12px; flex: 1; min-width: 0; }
.book__row { position: relative; display: flex; align-items: center; gap: 12px; min-height: 34px; font-size: 13px; font-variant-numeric: tabular-nums; }
.book__cell { flex: 1; position: relative; z-index: 1; padding-left: 8px; color: var(--n-600); }
.book__cell--price { font-weight: 600; }
.book__cell--ask { color: var(--no-700); }
.book__cell--bid { color: var(--ok-700); }
.book__bar { position: absolute; inset: 2px auto 2px 0; border-radius: 4px; z-index: 0; }
.book__bar--ask { background: var(--no-200); }
.book__bar--bid { background: var(--ok-200); }
.book__spread { display: flex; align-items: center; justify-content: space-between; margin: 8px 0 8px 52px; padding: 6px 10px; border-radius: 8px; background: var(--n-150); font-size: 11px; font-weight: 600; color: var(--n-500); font-variant-numeric: tabular-nums; }
/* ---------- trade panel ---------------------------------------------------- */
.trade { padding: 18px; position: sticky; top: 92px; }
.trade__head { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.trade__head h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: var(--n-800); }
.trade__head small { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; }
.trade__modes { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.segment { display: flex; background: var(--n-200); border-radius: 999px; padding: 4px; }
.segment button { padding: 7px 18px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--n-600); }
.segment button.is-active { background: var(--n-0); color: var(--n-800); font-weight: 700; box-shadow: 0 1px 2px rgba(0,0,0,.07); }
.ordertype { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--n-600); }
.sides { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 9px; margin-bottom: 18px; }
.side { border-radius: var(--radius); padding: 12px; text-align: center; border: 1.5px solid transparent; background: var(--n-150); transition: all .15s; }
.side b { display: block; font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.side span { font-size: 12px; font-weight: 600; color: var(--n-500); font-variant-numeric: tabular-nums; }
.side--yes.is-active { background: var(--ok-150); border-color: var(--ok-500); }
.side--yes.is-active b { color: var(--ok-700); }
.side--no.is-active { background: var(--no-150); border-color: var(--no-500); }
.side--no.is-active b { color: var(--no-700); }
.field { margin-bottom: 14px; }
.field__label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; font-size: 12px; font-weight: 600; color: var(--n-500); }
.field__label b { color: var(--n-700); font-weight: 600; font-variant-numeric: tabular-nums; }
.input { display: flex; align-items: center; gap: 8px; border: 1px solid var(--n-250); background: var(--n-0); border-radius: var(--radius); padding: 12px 14px; }
.input span { font-size: 20px; font-weight: 600; color: var(--n-400); }
.input b { flex: 1; font-size: 22px; font-weight: 700; color: var(--n-800); font-variant-numeric: tabular-nums; }
.input em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--n-500); }
.stepper { display: flex; gap: 6px; }
.stepper button { border: 1px solid var(--n-250); border-radius: 8px; padding: 5px 10px; font-size: 12px; font-weight: 600; color: var(--n-600); background: var(--n-0); }
.stepper button:hover { border-color: var(--n-300); color: var(--n-800); }
.quickamts { display: flex; gap: 6px; margin-bottom: 16px; }
.quickamts button { flex: 1; border-radius: 8px; background: var(--n-150); padding: 7px 0; font-size: 12px; font-weight: 600; color: var(--n-600); }
.quickamts button:hover { background: var(--n-200); color: var(--n-800); }
.summary { border-top: 1px solid var(--n-200); padding-top: 13px; margin-bottom: 15px; display: flex; flex-direction: column; gap: 9px; }
.summary__row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--n-600); }
.summary__row b { font-weight: 700; color: var(--n-800); font-variant-numeric: tabular-nums; }
.summary__row.is-payout b { color: var(--ok-700); font-size: 15px; }
.trade__note { margin: 11px 0 0; text-align: center; font-size: 11px; line-height: 1.5; color: var(--n-500); }
.trade__note a { color: var(--n-700); font-weight: 600; }
/* ---------- rules / activity ---------------------------------------------- */
.acc { padding: 4px 18px; margin-top: 26px; }
.acc__item { border-bottom: 1px solid var(--n-200); }
.acc__item:last-child { border-bottom: 0; }
.acc__q { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 0; font-size: 14px; font-weight: 600; color: var(--n-800); text-align: left; }
.acc__a { padding: 0 0 18px; font-size: 13px; line-height: 1.65; color: var(--n-600); max-width: 72ch; }
.acc__a code { background: var(--n-150); border-radius: 5px; padding: 1px 6px; font-size: 12px; }
.oracle { display: flex; align-items: center; gap: 14px; padding: 16px 18px; margin-top: 18px; border: 1px solid var(--n-200); background: var(--n-0); border-radius: var(--radius-lg); }
.oracle__body { flex: 1; }
.oracle__body b { display: block; font-size: 13px; font-weight: 600; color: var(--n-800); }
.oracle__body span { font-size: 12px; color: var(--n-500); }
.act { margin-top: 26px; padding: 6px 18px 14px; }
.act__row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--n-200); font-size: 13px; }
.act__row:last-child { border-bottom: 0; }
.act__tag { flex: none; border-radius: 999px; padding: 3px 9px; font-size: 10px; font-weight: 700; }
.act__tag--buyyes { background: var(--ok-150); color: var(--ok-700); }
.act__tag--buyno { background: var(--no-150); color: var(--no-700); }
.act__tag--sellyes { background: var(--n-200); color: var(--n-600); }
.act__outcome { flex: 1; min-width: 0; font-weight: 600; color: var(--n-800); }
.act__actor { color: var(--n-500); font-variant-numeric: tabular-nums; width: 96px; flex: none; }
.act__amt { width: 84px; flex: none; text-align: right; font-weight: 700; color: var(--n-800); font-variant-numeric: tabular-nums; }
.act__px { width: 52px; flex: none; text-align: right; color: var(--n-600); font-variant-numeric: tabular-nums; }
.act__time { width: 84px; flex: none; text-align: right; color: var(--n-400); font-variant-numeric: tabular-nums; }
/* ---------- close-ups ------------------------------------------------------ */
.closeups { padding: 34px 0 70px; background: var(--n-200); min-height: 100vh; }
.closeups__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.shot { display: flex; flex-direction: column; gap: 11px; min-width: 0; }
.shot__cap { display: flex; align-items: baseline; gap: 9px; }
.shot__cap b { font-size: 13px; font-weight: 700; color: var(--n-800); }
.shot__cap span { font-size: 12px; color: var(--n-500); }
.shot__frame { min-width: 0; background: var(--n-0); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-lift); }
.shot__frame--muted { background: var(--n-150); }
.shot__frame .trade { position: static; padding: 0; box-shadow: none; }
/* ---------- portfolio ------------------------------------------------------ */
.pf { padding: 30px 0 128px; }
.pf__top { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; margin-bottom: 26px; }
.pf__hero { padding: 24px; display: flex; flex-direction: column; }
.pf__value { font-size: 38px; font-weight: 700; letter-spacing: -.03em; color: var(--n-800); font-variant-numeric: tabular-nums; margin: 6px 0 4px; }
.pf__delta { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pf__split { display: flex; gap: 30px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--n-200); }
.pf__split b { display: block; font-size: 17px; font-weight: 700; color: var(--n-800); font-variant-numeric: tabular-nums; }
.pf__split span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--n-500); }
.pf__chart { padding: 20px 22px; display: flex; flex-direction: column; }
.tabs { display: flex; gap: 4px; margin-bottom: 16px; border-bottom: 1px solid var(--n-200); }
.tabs button { padding: 11px 16px; font-size: 14px; font-weight: 600; color: var(--n-500); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.is-active { color: var(--brand-ink); border-bottom-color: var(--brand-ink); }
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; padding: 0 14px 11px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--n-500); }
.table th.num, .table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.table td { padding: 13px 14px; border-top: 1px solid var(--n-200); color: var(--n-700); }
.table tbody tr:hover { background: var(--n-100); }
.table .pos { display: flex; align-items: center; gap: 11px; }
.table .pos b { display: block; font-size: 13px; font-weight: 600; color: var(--n-800); }
.table .pos span { font-size: 11px; color: var(--n-500); }
.table .strong { font-weight: 700; color: var(--n-800); }
/* ---------- AI assistant dock ---------------------------------------------- */
/* Mirrors the shipped Truman dock: a pill fixed to the bottom centre of every
app screen, which grows a suggestion row and an answer card above it once a
preset prompt is chosen. */
.dock {
position: fixed; left: 50%; bottom: 18px; z-index: 120;
width: min(420px, calc(100vw - 32px));
transform: translateX(-50%);
display: flex; flex-direction: column; gap: 10px;
}
.dock--open { width: min(760px, calc(100vw - 32px)); }
/* With the dock open, the page behind it is pushed back so the answer card
reads as a layer over the app rather than one more card on it. Sits under
the dock, and under the nav and the mockup bar so the venue's own brand
stays crisp in the screenshot. */
.dockscrim {
position: fixed; inset: 0; z-index: 100;
background: var(--ai-scrim);
-webkit-backdrop-filter: blur(3px);
backdrop-filter: blur(3px);
}
/* Static copy for the close-ups gallery, where it is a specimen not a dock. */
.dock--inline { position: static; transform: none; width: 100%; }
.composer {
display: flex; align-items: center; gap: 10px;
height: 68px; padding: 12px;
border: 1px solid var(--n-300); border-radius: 999px; background: var(--ai-surface);
box-shadow: var(--ai-lift);
}
.composer__avatar {
width: 44px; height: 44px; border-radius: 999px; flex: none;
display: grid; place-items: center; color: #FFFFFF;
background: linear-gradient(145deg, var(--ai-from), var(--ai-to));
box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.composer__avatar svg { width: 24px; height: 24px; }
.composer__avatar--sm { width: 36px; height: 36px; }
.composer__avatar--sm svg { width: 20px; height: 20px; }
.composer__input { flex: 1; min-width: 0; font-size: 15px; color: var(--n-400); }
.composer__send {
width: 44px; height: 44px; border-radius: 999px; flex: none;
display: grid; place-items: center;
background: var(--brand); color: var(--brand-on);
}
.composer__send svg { width: 19px; height: 19px; }
.chips { display: flex; gap: 6px; padding: 2px 4px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip-ai {
flex: none; display: inline-flex; align-items: center; gap: 6px;
height: 32px; padding: 0 12px; white-space: nowrap;
border: 1px solid var(--n-300); border-radius: 999px; background: var(--ai-surface);
font-size: 12px; font-weight: 500; color: var(--n-700);
box-shadow: 0 2px 6px -3px rgba(15,23,42,.24);
}
.chip-ai svg { width: 13px; height: 13px; color: var(--n-400); }
.chip-ai.is-active { border-color: var(--brand-ink); color: var(--brand-ink); background: var(--brand-tint); }
.chip-ai.is-active svg { color: var(--brand-ink); }
.airesp {
display: flex; flex-direction: column; overflow: hidden;
border: 1px solid var(--n-300); border-radius: 28px; background: var(--ai-surface);
box-shadow: var(--ai-lift);
}
.airesp__head { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--n-200); }
.airesp__who { min-width: 0; flex: 1; }
.airesp__who b { display: block; font-size: 13px; font-weight: 600; color: var(--n-800); }
.airesp__who span { display: block; margin-top: 2px; font-size: 12px; color: var(--n-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.airesp__acts { flex: none; display: flex; gap: 2px; }
.airesp__act { width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; color: var(--n-500); }
.airesp__act svg { width: 15px; height: 15px; }
.airesp__body {
display: flex; flex-direction: column; gap: 14px;
padding: 16px 18px;
max-height: calc(100vh - 260px); overflow-y: auto;
}
.airesp__intro { margin: 0; font-size: 13px; line-height: 1.6; color: var(--n-700); }
.airesp__foot { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; border-top: 1px solid var(--n-200); font-size: 12px; font-weight: 600; color: var(--n-600); }
.airesp__foot svg { width: 13px; height: 13px; }
.aistats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.aistat { border: 1px solid var(--n-200); background: var(--n-150); border-radius: 12px; padding: 12px; }
.aistat span { font-size: 11px; font-weight: 500; color: var(--n-500); }
.aistat b { display: block; margin-top: 4px; font-size: 15px; font-weight: 600; color: var(--n-800); font-variant-numeric: tabular-nums; }
.aistat small { display: block; margin-top: 3px; font-size: 11px; color: var(--n-500); }
.aibullets { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.aibullets li { position: relative; padding-left: 17px; font-size: 13px; line-height: 1.55; color: var(--n-700); }
.aibullets li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 5px; height: 5px; border-radius: 999px; background: var(--brand-ink); }
.aisources { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 13px; border-top: 1px solid var(--n-200); }
.aisource { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; background: var(--n-150); padding: 4px 10px; font-size: 11px; color: var(--n-600); }
.aisource b { font-weight: 700; color: var(--n-700); font-variant-numeric: tabular-nums; }
/* ---------- responsive ----------------------------------------------------- */
/* Four steps: 1080 collapses the two-column screens, 880 folds the nav into a
drawer behind a hamburger, 720 is the phone layout, and 480 trims the brand
lockup so the top row still fits on the narrowest common handset. */
@media (max-width: 1080px) {
.hero, .detail__cols, .pf__top, .closeups__grid { grid-template-columns: minmax(0, 1fr); }
.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trade { position: static; }
}
@media (max-width: 880px) {
/* The links, balance and CTA drop below the bar; the theme toggle and the
hamburger stay on it. display:contents lifts the children of .nav__right
into .nav__inner so they can be ordered against .nav__links without
duplicating any markup into a second drawer element. */
.nav__inner { flex-wrap: wrap; height: auto; min-height: var(--nav-h); gap: 12px; padding: 10px 0; }
.nav__right { display: contents; }
.themetoggle { order: 2; margin-left: auto; }
.nav__burger { order: 3; display: grid; }
.nav__links,
.nav__balance,
.nav__right > .btn--brand { display: none; flex-basis: 100%; }
body.nav-open .nav__links {
display: flex; order: 4; flex-direction: column; gap: 2px;
padding-top: 10px; border-top: 1px solid var(--n-200);
}
body.nav-open .nav__link { padding: 12px 14px; border-radius: 10px; font-size: 15px; }
body.nav-open .nav__balance {
display: flex; order: 5; flex-direction: row; align-items: center;
justify-content: space-between; padding: 0 4px 2px; border-right: 0;
}
body.nav-open .nav__right > .btn--brand {
display: inline-flex; order: 6; min-height: 46px; margin-bottom: 6px;
}
}
@media (max-width: 720px) {
.wrap { padding: 0 14px; }
.mockbar { gap: 10px; padding: 0 12px; }
.mockbar__label, .mockbar__hint { display: none; }
.grid { grid-template-columns: minmax(0, 1fr); }
/* discovery */
.disco { padding: 22px 0 44px; }
.hero { padding: 18px; gap: 22px; margin-bottom: 24px; }
.hero__title { font-size: 23px; }
.hero__sub { font-size: 14px; margin-bottom: 16px; }
.hero__stats { flex-wrap: wrap; gap: 16px 26px; }
.hero__cta { flex-wrap: wrap; }
.hero__cta .btn { flex: 1 1 auto; }
.controls { gap: 10px; }
.search { margin-left: 0; width: 100%; min-width: 0; }
.mcard { padding: 16px; }
/* market detail */
.detail { padding: 20px 0 44px; }
.mhead { gap: 12px; margin-bottom: 18px; }
.mhead__title { font-size: 20px; }
.mhead__q { font-size: 14px; }
.chartcard { padding: 16px; }
.chartcard__top { flex-wrap: wrap; gap: 12px; }
.metrics { flex-wrap: wrap; gap: 12px 22px; }
.metric b { font-size: 16px; }
.ranges { margin-left: auto; }
/* label and odds share a line, the Yes/No pair gets its own */
.ocard { padding: 12px 13px; }
.ocard__main { flex-wrap: wrap; gap: 10px 12px; }
.ocard__label { width: auto; flex: 1 1 auto; min-width: 0; font-size: 15px; }
.ocard__chance { flex: 0 0 auto; justify-content: flex-end; }
.ocard__btns { width: 100%; }
.book__head { padding-left: 46px; }
.book__row { gap: 6px; font-size: 12px; }
.book__tag { width: 34px; }
.book__spread { margin-left: 46px; }
.oracle { flex-wrap: wrap; }
.oracle .btn { width: 100%; }
/* the activity row splits in two: what traded on the first line, the numbers
on the second. .act__outcome grows and the actor claims a wide basis, so
the break lands in the same place whatever the outcome label is. */
.act__row { flex-wrap: wrap; gap: 4px 10px; padding: 10px 0; }
.act__outcome { flex: 1 1 auto; }
.act__actor { width: auto; flex: 1 1 46%; text-align: left; font-size: 12px; }
.act__amt, .act__px { width: auto; }
.act__time { width: auto; margin-left: auto; }
/* portfolio */
.pf { padding: 22px 0 44px; }
.pf__value { font-size: 30px; }
.pf__hero, .pf__chart { padding: 18px; }
.pf__split { flex-wrap: wrap; gap: 14px 26px; margin-top: 18px; }
.tabs { overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; padding: 11px 12px; font-size: 13px; }
/* Seven columns will not compress into a phone. Scrolling them sideways
screenshots as a clipped table, so the secondary ones drop instead and
what a holder actually reads stays: what it is and what it is worth. The
Yes/No side is carried by the outcome label on every other screen.
.tablewrap still catches anything that overruns. */
.table th, .table td { padding: 12px 7px; }
.table td.num, .table th.num { font-size: 12px; }
.table--positions th:first-child, .table--positions td:first-child,
.table--orders th:first-child, .table--orders td:first-child { width: 50%; }
.table--positions th:nth-child(2), .table--positions td:nth-child(2),
.table--positions th:nth-child(3), .table--positions td:nth-child(3),
.table--positions th:nth-child(4), .table--positions td:nth-child(4),
.table--positions th:nth-child(5), .table--positions td:nth-child(5),
.table--orders th:nth-child(2), .table--orders td:nth-child(2),
.table--orders th:nth-child(3), .table--orders td:nth-child(3),
.table--orders th:nth-child(5), .table--orders td:nth-child(5),
.table--orders th:nth-child(7), .table--orders td:nth-child(7) { display: none; }
/* assistant dock */
.disco, .detail, .pf { padding-bottom: 112px; }
.dock { bottom: 12px; }
.composer { height: 56px; padding: 8px; gap: 8px; }
.composer__avatar, .composer__send { width: 40px; height: 40px; }
.composer__input { font-size: 14px; }
.airesp__head { padding: 12px 14px; }
.airesp__body { padding: 14px; max-height: calc(100vh - 220px); }
.aistats { grid-template-columns: minmax(0, 1fr); }
/* close-ups */
.closeups { padding: 24px 0 48px; }
.closeups__grid { gap: 20px; }
.shot__frame { padding: 14px; }
.trade { padding: 16px; }
}
@media (max-width: 480px) {
.brandmark { gap: 7px; min-width: 0; }
.brandmark__lockup, .brandmark__lockup svg { height: 24px; }
.brandmark__glyph { width: 27px; height: 27px; }
.brandmark__product { font-size: 10px; padding: 3px 6px; }
.brandmark__text { font-size: 15px; }
.nav__inner { gap: 10px; }
}
</style>
</head>
<body>
<div class="mockbar">
<span class="mockbar__label">Mockup</span>
<div class="mockbar__tabs" id="mockTabs"></div>
<span class="mockbar__hint">Add <code>?clean=1</code> to hide this bar before screenshotting · <code>?screen=detail</code> to deep-link</span>
</div>
<div id="app"></div>
<script>
/* ==========================================================================
* ██ EDIT HERE ██ Everything that changes per Sovereign Venue lives in
* this one CONFIG block: the identity (name, logo, colors, font) AND the
* content (market questions, units, numbers). Nothing below this block needs
* touching to produce a new branded set of screenshots.
* ========================================================================== */
var CONFIG = {
/* ---------------------------------------------------------------- brand */
brand: {
name: 'GRID',
product: 'Predict',
markSvg: null,
markText: 'G',
// GRID's own wordmark, from their dark-background logo SVG, recolored to
// currentColor. Five paths, no external references.
lockupSvg: '<svg viewBox="0 0 132 84" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M17.767 26.812H28.674V33.193C27.245 34.475 24.727 35.695 21.413 35.695C14.778 35.695 10.972 30.962 10.972 22.711C10.972 14.837 14.849 10.138 21.356 10.138C24.966 10.138 27.924 11.137 30.674 13.282L32.125 14.413L36.899 7.974L35.562 6.874C32.825 4.605 28.737 2 21.384 2C9.930 2 2.238 10.374 2.238 22.836C2.238 38.482 12.303 44.036 20.923 44.036C27.431 44.036 33.007 41.670 36.627 37.374L37.057 36.867V19.053H17.767V26.812Z"/><path d="M73.331 15.428C73.331 10.701 71.376 2.771 58.29 2.771H43.843V43.512H52.350V29.422H58.212L66.674 43.512H76.420L66.637 27.553C70.920 25.251 73.331 20.942 73.331 15.428ZM52.342 10.681H57.782C63.375 10.681 64.521 12.769 64.521 15.906C64.521 19.444 62.450 21.472 58.842 21.472H52.348L52.342 10.681Z"/><path d="M90.451 2.771H81.943V43.512H90.451V2.771Z"/><path d="M109.79 2.771H97.246V43.512H109.79C121.923 43.512 129.764 35.406 129.764 22.860C129.764 10.281 122.296 2.771 109.79 2.771ZM110.287 35.327H105.803V10.830H110.287C117.616 10.830 121.029 14.653 121.029 22.860C121.029 31.249 117.516 35.327 110.287 35.327Z"/><path d="M2 54.017V81.999H130V54.017H2ZM4.022 79.963V56.054H127.979V79.963H4.022Z"/></svg>',
// Inter is GRID's actual web face — their site loads it from Google Fonts
// — so this is an exact match rather than a substitute.
fontFamily: "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
fontUrl: 'https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap',
colors: {
brand: '#1FDAFF', // GRID cyan — a FILL; unreadable as text on white
brandDark: '#00B8DE',
brandLight: '#7BE9FF',
yes: '#10B981',
no: '#EF4444'
},
defaultTheme: 'light',
themes: {
light: {
brandInk: '#00697F', // deep teal, the cyan taken down until it reads
brandTint: '#DAF6FC',
brandOn: '#06141A', // cyan is light, so its label is dark
vars: {}
},
dark: {
brandInk: '#1FDAFF',
brandTint: '#0A2A33',
brandOn: '#06141A',
vars: {
'--n-0': '#1C1D1F',
'--n-100': '#232426',
'--n-150': '#131415', // GRID's page near-black, exact
'--n-200': '#2B2D30',
'--n-250': '#34363A',
'--n-300': '#3E4146',
'--n-400': '#6E747C',
'--n-500': '#969CA5',
'--n-600': '#BFC5CD',
'--n-700': '#DFE3E8',
'--n-800': '#F3F3F3', // the grey their logo is drawn in
'--n-900': '#FFFFFF',
'--ok-700': '#00E58A',
'--ok-500': '#00E58A',
'--ok-200': '#14583F',
'--ok-150': '#174333',
'--ok-100': '#103026',
'--no-700': '#FFA7AE',
'--no-600': '#FF6B78',
'--no-500': '#FF4757',
'--no-200': '#863139',
'--no-150': '#602A30',
'--shadow-card': '0 0 0 1px #2B2D30',
'--shadow-pop': '0 0 0 1px #34363A',
'--shadow-lift': '0 14px 34px rgba(0,0,0,.6), 0 0 0 1px #34363A'
}
}
},
tagline: 'Every kill, every round, straight from the game server.',
heroSub: 'Majors, splits and player props, settled on official in-game data taken ' +
'straight from the server: the same feed the tournament organisers run on. ' +
'No scoreboard screenshots, no disputes.',
heroEyebrow: 'Featured event',
nav: ['Markets', 'Positions', 'Events', 'API'],
ctaPrimary: 'Connect Wallet',
ctaSecondary: 'How it works',
collateralSymbol: '$',
collateralLabel: 'USD',
feeToken: 'USD',
/* Truman is the same assistant in every venue, so its name and its avatar
* do not change with the brand. Only the prompts below it do. */
assistant: {
name: 'Truman',
placeholder: 'Ask Truman anything...',
avatar: { from: '#001F4D', to: '#0A3170' }
},
oracleName: 'GRID Official Data Feed',
oracleDetail: 'Settled from official in-game data ingested straight from the game server: the same feed that backs GRID’s sportsbook and prediction-market partners.',
footnote: 'Illustrative mockup. Not affiliated with or endorsed by GRID Esports. Team, player and event names are real and public; all market data is fictional.'
},
/* -------------------------------------------------------------- markets
* Market shapes mirror what GRID actually powers for sportsbooks and
* prediction markets: outright/tournament winner and moneyline (categorical),
* plus scalar micro markets built on server-level data — total rounds and
* player kill props.
*
* Events, teams and players are real and current as of August 2026.
* ---------------------------------------------------------------------- */
markets: [
{
slug: 'epl-s24-champion',
mark: 'EPL',
markColor: '#1FDAFF',
title: 'ESL Pro League S24',
category: 'CS2',
question: 'Who lifts the ESL Pro League Season 24 trophy in Katowice?',
currentLabel: 'Spodek Arena, Katowice · $1,000,000 · 16 teams',
openInterest: '$2.41M',
volume24h: '$318.7K',
traders: 14208,
creationCost: '25.00',
settles: 'Oct 11',
countdown: '43d 06h',
status: 'live',
outcomes: [
{ kind: 'named', label: 'Team Falcons', short: 'Falcons', chance: 26, change: 3, yes: 26, no: 75 },
{ kind: 'named', label: 'Team Vitality', short: 'Vitality', chance: 23, change: 2, yes: 23, no: 78 },
{ kind: 'named', label: 'Team Spirit', short: 'Spirit', chance: 19, change: -2, yes: 19, no: 82 },
{ kind: 'named', label: 'MOUZ', short: 'MOUZ', chance: 14, change: 1, yes: 14, no: 87 },
{ kind: 'named', label: 'Natus Vincere', short: 'NAVI', chance: 10, change: -3, yes: 10, no: 91 },
{ kind: 'named', label: 'FURIA Esports', short: 'FURIA', chance: 8, change: -1, yes: 8, no: 93 }
],
/* Written for this event: the Katowice final, settled on official
* in-game data. The odds are this market's own; the field, the format,
* the head-to-head record and the map pool are real and cited. */
assistantPrompts: [
{
chip: 'Form guide',
question: 'Which team does this market make favourite, and on what?',
intro: 'Team Falcons are favourite, though the book and the world ranking disagree.',
stats: [
{ label: 'Favourite', value: 'Team Falcons', note: '26% and rising' },
{ label: 'Chasing', value: 'Team Vitality', note: '23%' },
{ label: 'Event', value: '$1,000,000', note: '16 teams, Spodek Arena' }
],
bullets: [
'Spirit, Falcons, 9z, MOUZ and Vitality are the current Valve Regional Standings top five, and all five are in the field.',
'This book has Spirit third at 19%, below where the ranking puts them, which is where the value argument sits.',
'Three points cover the top two, inside the noise on a 16 team bracket.'
],
sources: ['GRID official data feed', 'Valve Regional Standings', 'ESL Pro Tour']
},
{
chip: 'Head to head',
question: 'How do the top two match up if they meet in Katowice?',
intro: 'Falcons and Vitality are level all time, but not lately.',
stats: [
{ label: 'All time', value: '5 to 5', note: '10 CS2 meetings' },
{ label: 'Last 12 months', value: 'Falcons 5 to 1', note: '10 to 7 on maps' },
{ label: 'Most recent', value: 'Falcons 2 to 1', note: 'IEM Cologne Major playoffs' }
],
bullets: [
'Falcons have taken the last three meetings, at BLAST Rivals Fall 2025, BLAST Bounty Winter 2026 and IEM Rio 2026.',
'The map score over that run is 10 to 7, so the series record reads more one-sided than the maps do.'
],
sources: ['GRID official data feed', 'HLTV match history']
},
{
chip: 'Format and map pool',
question: 'What about the format or the map pool could swing this?',
intro: 'Two structural things worth pricing before the bracket locks.',
bullets: [
'Anubis returned to the active duty pool in January in place of Train, and its layout changes to mid control and rotations are still reshaping utility scripts.',
'The group stage is Swiss and every match is best of three, which cuts the variance a single upset can cause.',
'The whole event is on LAN, with the eight team playoffs at Spodek Arena from October 9 to 11.'
],
sources: ['GRID official data feed', 'ESL Pro Tour', '2026 active duty pool']
}
],
activity: [
{ side: 'buy-yes', outcome: 0, amount: '$24,800', price: '26¢', actor: '0x7c…91a2', time: '2m ago' },
{ side: 'buy-yes', outcome: 1, amount: '$18,300', price: '23¢', actor: '0x19…4f8c', time: '14m ago' },
{ side: 'buy-no', outcome: 5, amount: '$9,600', price: '93¢', actor: '0xad…02bb', time: '31m ago' },
{ side: 'buy-yes', outcome: 2, amount: '$12,150', price: '19¢', actor: '0xf3…d710', time: '58m ago' },
{ side: 'sell-yes', outcome: 4, amount: '$5,420', price: '11¢', actor: '0x42…a9fd', time: '1h 39m ago' },
{ side: 'buy-yes', outcome: 0, amount: '$31,700', price: '25¢', actor: '0x8b…5e01', time: '2h 11m ago' }
]
},
{
slug: 'lec-summer-2026-champion',
mark: 'LEC',
markColor: '#7BE9FF',
title: 'LEC Summer Split 2026',
category: 'League of Legends',
question: 'Who wins the LEC Summer Split playoffs?',
currentLabel: 'Bo5 double elimination · G2 took Versus and Spring',
openInterest: '$1.68M',
volume24h: '$212.4K',
traders: 10874,
creationCost: '25.00',
settles: 'Sep 20',
countdown: '22d 06h',
status: 'live',
outcomes: [
{ kind: 'named', label: 'G2 Esports', short: 'G2', chance: 34, change: 4, yes: 34, no: 67 },
{ kind: 'named', label: 'Team Vitality', short: 'Vitality', chance: 21, change: 2, yes: 21, no: 80 },
{ kind: 'named', label: 'Karmine Corp', short: 'KC', chance: 17, change: -1, yes: 17, no: 84 },
{ kind: 'named', label: 'Fnatic', short: 'Fnatic', chance: 12, change: -2, yes: 12, no: 89 },
{ kind: 'named', label: 'Movistar KOI', short: 'KOI', chance: 9, change: -2, yes: 9, no: 92 },
{ kind: 'named', label: 'Team Heretics', short: 'Heretics', chance: 7, change: -1, yes: 7, no: 94 }
],
activity: [
{ side: 'buy-yes', outcome: 0, amount: '$29,400', price: '34¢', actor: '0x2d…77c1', time: '6m ago' },
{ side: 'buy-yes', outcome: 2, amount: '$11,900', price: '17¢', actor: '0xbe…1904', time: '23m ago' },
{ side: 'buy-no', outcome: 5, amount: '$7,300', price: '94¢', actor: '0x51…ee7a', time: '47m ago' },
{ side: 'sell-yes', outcome: 3, amount: '$4,860', price: '13¢', actor: '0x0a…c3d2', time: '1h 22m ago' },
{ side: 'buy-yes', outcome: 1, amount: '$15,050', price: '21¢', actor: '0x9f…b820', time: '2h 08m ago' }
]
},
{
slug: 'porto-final-total-rounds',
mark: 'BLA',
markColor: '#00E58A',
title: 'Porto final · map 1 rounds',
category: 'CS2',
question: 'How many rounds are played on map 1 of the BLAST Premier Open Porto grand final?',
unit: { symbol: ' rounds', position: 'suffix', decimals: 0 },
currentValue: 25,
currentLabel: 'Event average this season',
openInterest: '$486.2K',
volume24h: '$64.9K',
traders: 4917,
creationCost: '25.00',
settles: 'Sep 06',
countdown: '8d 04h',
status: 'new',
outcomes: [
{ kind: 'below', a: 22, chance: 14, change: -2, yes: 14, no: 87 },
{ kind: 'range', a: 22, b: 25, chance: 36, change: 3, yes: 36, no: 65 },
{ kind: 'range', a: 26, b: 29, chance: 31, change: 1, yes: 31, no: 70 },
{ kind: 'above', a: 30, chance: 19, change: -2, yes: 19, no: 82 }
],
activity: [
{ side: 'buy-yes', outcome: 1, amount: '$8,700', price: '36¢', actor: '0x6c…ab19', time: '17m ago' },
{ side: 'buy-yes', outcome: 3, amount: '$4,120', price: '19¢', actor: '0x30…f4e7', time: '1h 04m ago' },
{ side: 'buy-no', outcome: 0, amount: '$3,380', price: '87¢', actor: '0xe8…5512', time: '2h 31m ago' }
]
},
{
slug: 'm0nesy-epl-kills',
mark: 'm0N',
markColor: '#FF4757',
title: 'm0NESY total kills',
category: 'Player props',
question: 'How many kills does Ilya “m0NESY” Osipov record across ESL Pro League Season 24?',
unit: { symbol: ' kills', position: 'suffix', decimals: 0 },
currentValue: 420,
currentLabel: 'His Cologne Major total',
openInterest: '$312.8K',
volume24h: '$41.6K',
traders: 3488,
creationCost: '25.00',
settles: 'Oct 11',
countdown: '43d 06h',
status: 'live',
outcomes: [
{ kind: 'below', a: 320, chance: 12, change: -3, yes: 12, no: 89 },
{ kind: 'range', a: 320, b: 399, chance: 28, change: -1, yes: 28, no: 73 },
{ kind: 'range', a: 400, b: 479, chance: 35, change: 3, yes: 35, no: 66 },
{ kind: 'range', a: 480, b: 559, chance: 17, change: 2, yes: 17, no: 84 },
{ kind: 'above', a: 560, chance: 8, change: -1, yes: 8, no: 93 }
],
activity: [
{ side: 'buy-yes', outcome: 2, amount: '$9,900', price: '35¢', actor: '0x1f…6b83', time: '11m ago' },
{ side: 'buy-yes', outcome: 3, amount: '$5,640', price: '17¢', actor: '0xc4…d091', time: '52m ago' },
{ side: 'sell-yes', outcome: 1, amount: '$3,720', price: '29¢', actor: '0x2b…3ac6', time: '1h 47m ago' }
]
},
{
slug: 'iem-cologne-major-2026',
mark: 'IEM',
markColor: '#BFC5CD',
title: 'IEM Cologne Major 2026',
category: 'CS2',
question: 'Who won the IEM Cologne Major 2026 at Lanxess Arena?',
currentLabel: 'Settled from the official grand final result',
openInterest: '$4.92M',
volume24h: '–',
traders: 28640,
creationCost: '25.00',
settles: 'Jun 21',
countdown: '',
status: 'resolved',
resolvedOutcome: 0,
outcomes: [
{ kind: 'named', label: 'Team Falcons', short: 'Falcons', chance: 100, change: 0, yes: 100, no: 0 },
{ kind: 'named', label: 'FURIA Esports', short: 'FURIA', chance: 0, change: 0, yes: 0, no: 100 },
{ kind: 'named', label: 'Team Vitality', short: 'Vitality', chance: 0, change: 0, yes: 0, no: 100 },
{ kind: 'named', label: 'Natus Vincere', short: 'NAVI', chance: 0, change: 0, yes: 0, no: 100 },
{ kind: 'named', label: 'MOUZ', short: 'MOUZ', chance: 0, change: 0, yes: 0, no: 100 }
],
activity: []
},
{
slug: 'pgl-bucharest-2026',
mark: 'PGL',
markColor: '#969CA5',
title: 'PGL Masters Bucharest',
category: 'CS2',
// Invites are not out yet, so this one lists with no book.
question: 'Who wins PGL Masters Bucharest 2026?',
currentLabel: 'Opens when the team list is confirmed',
openInterest: '–',
volume24h: '–',
traders: 0,
creationCost: '25.00',
settles: 'Oct 31',
countdown: '',
status: 'soon',
outcomes: [],
activity: []
}
],
/* ------------------------------------------------------------- portfolio */
portfolio: {
totalValue: 96840.00,
change24h: 4218.00,
changePct: 4.55,
cash: 18400.00,
positionsValue: 78440.00,
realized: 23960.00,
positions: [
{ market: 0, outcome: 0, side: 'Yes', shares: 84000, avg: 21, now: 26, value: 21840.00, pnl: 4200.00 },
{ market: 1, outcome: 0, side: 'Yes', shares: 62000, avg: 30, now: 34, value: 21080.00, pnl: 2480.00 },
{ market: 0, outcome: 2, side: 'Yes', shares: 51000, avg: 22, now: 19, value: 9690.00, pnl: -1530.00 },
{ market: 2, outcome: 1, side: 'Yes', shares: 38000, avg: 33, now: 36, value: 13680.00, pnl: 1140.00 },
{ market: 3, outcome: 2, side: 'Yes', shares: 29000, avg: 31, now: 35, value: 10150.00, pnl: 1160.00 },
{ market: 1, outcome: 5, side: 'No', shares: 2200, avg: 91, now: 94, value: 2068.00, pnl: 66.00 }
],
openOrders: [
{ market: 0, outcome: 3, side: 'Yes', type: 'Limit', price: 12, shares: 45000, filled: 0 },
{ market: 1, outcome: 2, side: 'Yes', type: 'Limit', price: 15, shares: 32000, filled: 9600 },
{ market: 3, outcome: 3, side: 'Yes', type: 'Limit', price: 15, shares: 20000, filled: 0 },
{ market: 2, outcome: 0, side: 'No', type: 'Limit', price: 89, shares: 14000, filled: 3500 }
]
}
};