Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
1271 lines (1233 loc) · 94.1 KB
/
Copy pathstyle.css
File metadata and controls
1271 lines (1233 loc) · 94.1 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
/* Forza Horizon 1: ReImagined, the website's look.
Colorado at golden hour: a warm umber page, the evening sky over red-rock ridges behind the top of
every page (the whole first screen on the landing page), dusty orange and rust accents, sand text.
Type: the headline font is one variable, --font-headline (now Bitter ExtraBold, fonts/, SIL Open
Font License); Saira Semi Condensed for labels, buttons and the navbar; the system font for reading.
To use Soho Std instead, with a licence that covers web fonts: put its woff2 files in fonts/, add an
@font-face { font-family: "Soho Std"; font-weight: 800; src: url("fonts/<file>.woff2") format("woff2"); }
here, and put "Soho Std" first in --font-headline. Nothing else changes. */
@font-face { font-family: "Bitter"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/bitter-800.woff2") format("woff2"); }
@font-face { font-family: "Saira Semi Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/saira-semi-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Saira Semi Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/saira-semi-condensed-700.woff2") format("woff2"); }
:root {
--bg: #1c140f;
--bg-deep: #140e0a;
--panel: rgba(42, 31, 23, 0.88);
--surface: #2a1f17;
--surface-2: #36281d;
--border: #4d3a2a;
--line: rgba(243, 223, 191, 0.1);
--text: #f4ebdd;
--soft: #e8dac5;
--muted: #c4ae92;
--cream: #f3dfbf;
--sand: #ead9bd;
--orange: #e8964f;
--pink: #d0703f;
--ink: #2a1a10;
--grad: linear-gradient(100deg, #eba05a, var(--pink));
--sky-top: #241912;
--sky-mid: #4a3122;
--sky-bottom: #7a4a2e;
--ridge-far: #3d2a1d;
--ridge-near: #2c1f16;
--stars: .35;
--drop-bg: #2c2119;
--menu-bg: #1c140f;
--tip-bg: rgba(28, 20, 15, .96);
--bar-h: 66px;
--gutter: clamp(16px, 4vw, 48px);
--wrap: 1280px;
--radius: 16px;
--font-headline: "Bitter", "Roboto Slab", "Rockwell", Georgia, serif;
--font-ui: "Saira Semi Condensed", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
--font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
--ease: cubic-bezier(.2, .8, .2, 1);
color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
margin: 0; min-height: 100vh; position: relative; isolation: isolate; overflow-x: hidden;
background: var(--bg); color: var(--text);
font: 17px/1.6 var(--font-body);
text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--orange); text-underline-offset: 3px; }
a:hover { color: var(--cream); }
code { background: rgba(255, 255, 255, .08); padding: .1em .4em; border-radius: 6px; font-size: .9em; overflow-wrap: anywhere; }
::selection { background: rgba(223, 145, 116, .45); color: #ffffff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 10px; background: var(--cream); color: var(--ink); padding: 8px 14px; border-radius: 10px; z-index: 100; font-weight: 700; }
.skip:focus { left: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* ---- scrollbars: a slim sunset thumb on the night track (WebKit/Blink here, Firefox below) ---- */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
background: linear-gradient(180deg, var(--orange), var(--pink)); border-radius: 999px;
border: 3px solid var(--bg-deep); min-height: 48px;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #e9a975, #e4a28a); }
::-webkit-scrollbar-corner { background: var(--bg-deep); }
@supports (-moz-appearance: none) {
:root { scrollbar-color: #df9479 var(--bg-deep); scrollbar-width: thin; }
}
/* ---- the sky behind the top of the page ---- */
.scene {
position: absolute; left: 0; right: 0; top: 0; z-index: -1; overflow: hidden; pointer-events: none;
height: clamp(340px, 52vh, 520px);
-webkit-mask-image: linear-gradient(180deg, #000000 62%, transparent); mask-image: linear-gradient(180deg, #000000 62%, transparent);
}
.sky { position: absolute; inset: 0; background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 55%, var(--sky-bottom) 100%); }
.stars {
position: absolute; inset: 0 0 35% 0; opacity: var(--stars);
background-image:
radial-gradient(1.5px 1.5px at 12% 18%, #ffffff, transparent), radial-gradient(1px 1px at 28% 8%, #ffffff, transparent),
radial-gradient(1.5px 1.5px at 44% 22%, #f1e3ce, transparent), radial-gradient(1px 1px at 63% 12%, #ffffff, transparent),
radial-gradient(1.5px 1.5px at 78% 26%, #ffffff, transparent), radial-gradient(1px 1px at 90% 9%, #f1e3ce, transparent),
radial-gradient(1px 1px at 6% 38%, #ffffff, transparent), radial-gradient(1.5px 1.5px at 52% 40%, #ffffff, transparent),
radial-gradient(1px 1px at 84% 44%, #ffffff, transparent), radial-gradient(1px 1px at 35% 32%, #f1e3ce, transparent),
radial-gradient(1px 1px at 70% 30%, #ffffff, transparent), radial-gradient(1.5px 1.5px at 20% 52%, #ffffff, transparent);
}
.ridge { position: absolute; left: -2%; width: 104%; max-width: none; bottom: 0; height: 38%; }
.ridge.far { height: 52%; fill: var(--ridge-far); opacity: .9; }
.ridge.near { fill: var(--ridge-near); }
.sun { display: none; }
/* ---- the navbar ---- */
.topbar {
position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: var(--bar-h);
display: flex; align-items: center; gap: clamp(14px, 2.4vw, 36px); padding: 0 var(--gutter);
}
.topbar::before {
content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
background: rgba(25, 17, 12, .78); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
border-bottom: 1px solid var(--line); box-shadow: 0 10px 30px rgba(11, 7, 5, .25); transition: opacity .3s;
}
html.js .landing .topbar:not(.solid)::before { opacity: 0; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--cream); white-space: nowrap; flex-shrink: 0; }
.brand img { display: block; width: auto; height: 36px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35)); }
.brand span { display: flex; flex-direction: column; font: 700 15px/1.05 var(--font-ui); letter-spacing: .01em; }
.brand b { font: 800 17px/1.25 var(--font-headline); padding-bottom: .12em; letter-spacing: -.005em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand:hover { color: var(--cream); }
nav { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; }
nav a, .menu summary {
color: #f0e3d2; text-decoration: none; font: 600 15.5px/1 var(--font-ui); letter-spacing: .02em;
padding: 10px 12px; border-radius: 10px; position: relative; white-space: nowrap;
transition: color .15s, background-color .15s;
}
nav a:hover, .menu summary:hover { color: var(--cream); background: rgba(241, 227, 206, .06); }
#site-nav > a[aria-current="page"]:not(.nav-cta), .menu:has(a[aria-current="page"]) > summary { color: var(--cream); }
#site-nav > a[aria-current="page"]:not(.nav-cta)::after, .menu:has(a[aria-current="page"]) > summary::before {
content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--grad);
}
/* The right side: Discord, Sign in or Account, Download (hidden once this browser signed in). */
nav .nav-discord { margin-left: auto; }
nav .nav-discord, nav .nav-account { display: inline-flex; align-items: center; gap: 8px; }
nav .nav-discord::before, nav .nav-account::before, nav .nav-cta::before, .ico::before {
content: ""; width: 18px; height: 18px; flex: none; background: currentColor;
-webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
.nav-discord, .ico-chat { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5A2.5 2.5 0 0 1 6.5 3h11A2.5 2.5 0 0 1 20 5.5v8a2.5 2.5 0 0 1-2.5 2.5H10l-4.5 4v-4h0A1.5 1.5 0 0 1 4 14.5z'/%3E%3Cpath d='M8.5 9.5h.01M12 9.5h.01M15.5 9.5h.01' stroke-width='2.6'/%3E%3C/svg%3E"); }
.nav-account, .ico-user { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.4-4 4.4-6 8-6s6.6 2 8 6'/%3E%3C/svg%3E"); }
.nav-cta, .ico-download { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E"); }
.ico-arrow { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.ico-shield { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.4 8-8 9-4.6-1-8-4.5-8-9V6z'/%3E%3Cpath d='M8.5 12l2.5 2.5 4.5-5'/%3E%3C/svg%3E"); }
nav .nav-cta {
display: inline-flex; align-items: center; gap: 8px; margin-left: 6px; padding: 11px 20px;
color: var(--ink); background: var(--grad); border-radius: 999px; font-weight: 700;
box-shadow: 0 6px 22px rgba(223, 145, 116, .32);
}
nav .nav-cta::before { width: 16px; height: 16px; }
nav .nav-cta:hover { color: var(--ink); background: var(--grad); filter: brightness(1.08); }
nav .nav-cta[aria-current="page"] { box-shadow: 0 0 0 2px var(--cream), 0 6px 22px rgba(223, 145, 116, .32); }
nav .nav-cta[hidden], html.signed-in #site-nav .nav-cta { display: none; }
.nav-toggle {
display: none; align-items: center; gap: 10px; flex-shrink: 0; margin-left: auto; cursor: pointer;
font: 700 15px/1 var(--font-ui); letter-spacing: .04em; color: var(--cream);
background: rgba(241, 227, 206, .06); border: 1px solid rgba(241, 227, 206, .18); border-radius: 999px; padding: 10px 16px;
}
.nav-toggle:hover { background: rgba(228, 150, 87, .14); }
.nav-bars { width: 16px; height: 2px; background: currentColor; box-shadow: 0 -5px currentColor, 0 5px currentColor; display: inline-block; position: relative; border-radius: 2px; }
.nav-toggle[aria-expanded="true"] .nav-bars { background: transparent; box-shadow: none; }
.nav-toggle[aria-expanded="true"] .nav-bars::before, .nav-toggle[aria-expanded="true"] .nav-bars::after {
content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: currentColor; border-radius: 2px;
}
.nav-toggle[aria-expanded="true"] .nav-bars::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-bars::after { transform: rotate(-45deg); }
.menu { position: relative; margin: 0; }
.menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 7px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::marker { content: ""; }
.menu summary::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); opacity: .7; transition: transform .2s; }
.menu-panel { padding-top: 10px; }
.menu-list { display: flex; flex-direction: column; gap: 2px; }
@media (min-width: 941px) {
.menu:hover summary::after, .menu:focus-within summary::after { transform: translateY(1px) rotate(-135deg); }
.menu-panel { position: absolute; top: 100%; left: 0; min-width: 220px; z-index: 30; padding-top: 8px; }
.menu:not(:hover):not(:focus-within) > .menu-panel { display: none; }
.menu:hover > .menu-panel, .menu:focus-within > .menu-panel { display: block; }
html:not(.js) .menu:not([open]) > .menu-panel { display: none; }
.menu-list {
background: var(--drop-bg); border: 1px solid var(--border); border-radius: 16px; padding: 8px;
box-shadow: 0 24px 50px rgba(11, 7, 5, .55); animation: menu-in .16s var(--ease);
}
.menu-list a { padding: 11px 14px; font-size: 15.5px; }
.menu-list a:hover, .menu-list a:focus-visible { background: rgba(228, 150, 87, .13); color: var(--cream); }
.menu-list a[aria-current="page"] { color: var(--cream); background: rgba(228, 150, 87, .1); box-shadow: inset 3px 0 0 var(--orange); }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
/* The full row fits once the wordmark steps aside; at 940px and below the Menu button takes over. */
@media (max-width: 1120px) and (min-width: 941px) {
.topbar .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
nav a, .menu summary { padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 940px) {
html.js .nav-toggle { display: inline-flex; }
html.js #site-nav {
display: none; position: fixed; top: var(--bar-h); left: 0; right: 0; z-index: 30;
grid-template-columns: 1fr 1fr; gap: 4px 10px; align-content: start;
padding: 10px var(--gutter) 22px; margin: 0;
background: var(--menu-bg); border-bottom: 1px solid var(--border);
box-shadow: 0 30px 50px rgba(11, 7, 5, .6); max-height: calc(100dvh - var(--bar-h)); overflow: auto;
}
html.js #site-nav.is-open { display: grid; }
html.js #site-nav > a:not(.nav-discord):not(.nav-account):not(.nav-cta), html.js .menu { grid-column: 1 / -1; }
html.js #site-nav > a, html.js .menu-list a { padding: 13px 12px; font-size: 18px; }
html.js #site-nav > a[aria-current="page"]::after { display: none; }
html.js #site-nav > a[aria-current="page"], html.js .menu-list a[aria-current="page"] { color: var(--cream); background: rgba(228, 150, 87, .1); }
html.js .menu { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }
html.js .menu summary { color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 8px 12px 2px; cursor: default; background: none; }
html.js .menu summary::before, html.js .menu summary::after { display: none; }
html.js .menu-panel { padding: 0; }
html.js .menu-list { display: grid; grid-template-columns: 1fr 1fr; }
html.js #site-nav .nav-discord, html.js #site-nav .nav-account {
margin: 14px 0 0; justify-content: center; border: 1px solid rgba(241, 227, 206, .2); border-radius: 999px; padding: 13px 12px; font-size: 16px;
}
html.js.signed-in #site-nav .nav-account, html.js #site-nav:has(.nav-cta[hidden]) .nav-account { grid-column: auto; }
html.js #site-nav .nav-cta { grid-column: 1 / -1; justify-content: center; margin: 10px 0 0; padding: 15px 14px; font-size: 17px; }
html:not(.js) .topbar { position: static; height: auto; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
html:not(.js) .topbar::before { opacity: 1; }
html:not(.js) #site-nav { flex-wrap: wrap; width: 100%; }
html:not(.js) .nav-discord { margin-left: 0; }
html:not(.js) .menu summary::after { display: none; }
html:not(.js) .menu-panel { padding: 0 0 0 12px; }
}
@media (max-width: 400px) {
.topbar { gap: 8px; }
.brand span { font-size: 13px; }
.brand b { font-size: 17px; }
}
/* ---- type and the shared pieces ---- */
main { position: relative; z-index: 1; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 14px; font-family: var(--font-headline); font-weight: 800; letter-spacing: -.01em; }
h1 { display: flex; flex-direction: column; }
h2, h1.plain { font-size: clamp(28px, 3.6vw, 46px); color: var(--cream); }
h1.plain { display: block; }
h3 { font-size: 21px; color: var(--cream); margin-top: 24px; }
.h1-small { color: var(--cream); font-size: clamp(20px, 2.4vw, 30px); letter-spacing: .03em; text-transform: uppercase; }
.h1-big {
font-size: clamp(40px, 6vw, 80px); letter-spacing: -.015em; line-height: 1.1; padding-bottom: .22em; margin-bottom: -.14em;
background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kicker { margin: 0 0 10px; color: var(--orange); font: 700 13px/1.2 var(--font-ui); letter-spacing: .18em; text-transform: uppercase; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--soft); margin: 0 0 8px; max-width: 40em; }
.aside { color: var(--muted); font-size: 16px; }
.notice {
margin: 18px 0 0; padding: 13px 16px; border: 1px solid rgba(223, 145, 116, .28); border-left: 3px solid var(--pink);
background: rgba(223, 145, 116, .08); border-radius: 12px; font-size: 15px; color: #faede8;
}
.panel {
width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 34px);
-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 24px 60px rgba(11, 7, 5, .35);
}
.panel h2 { font-size: clamp(23px, 2.6vw, 31px); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn {
display: inline-flex; flex-direction: column; justify-content: center; text-decoration: none; padding: 13px 22px; border-radius: 14px;
font: 700 17px/1.15 var(--font-ui); letter-spacing: .02em; transition: transform .18s var(--ease), filter .18s, background-color .18s, border-color .18s;
}
.btn small { font: 600 12.5px/1.3 var(--font-body); letter-spacing: 0; opacity: .9; margin-top: 2px; }
.btn.primary small { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { color: var(--ink); background: var(--grad); box-shadow: 0 10px 30px rgba(223, 145, 116, .3); }
.btn.primary:hover { color: var(--ink); filter: brightness(1.07); }
.btn.ghost { color: var(--cream); border: 1px solid rgba(241, 227, 206, .28); background: rgba(241, 227, 206, .05); }
.btn.ghost:hover { border-color: var(--orange); background: rgba(228, 150, 87, .12); }
.btn.ico { display: inline-grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.btn.ico::before { grid-row: 1 / span 2; width: 22px; height: 22px; }
.btn.ico span, .btn.ico small { grid-column: 2; }
.link-more { display: inline-flex; align-items: center; gap: 8px; color: var(--cream); font: 700 16px/1 var(--font-ui); letter-spacing: .03em; text-decoration: none; white-space: nowrap; padding: 10px 0; }
.link-more::after { content: "\2192"; color: var(--orange); transition: transform .2s var(--ease); }
.link-more:hover { color: var(--orange); }
.link-more:hover::after { transform: translateX(4px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.chips a { color: var(--cream); text-decoration: none; font: 600 15px/1 var(--font-ui); border: 1px solid rgba(241, 227, 206, .22); border-radius: 999px; padding: 9px 16px; background: rgba(241, 227, 206, .04); }
.chips a:hover { border-color: var(--orange); background: rgba(228, 150, 87, .12); }
.features, .steps, .req ul { padding-left: 1.2em; margin: 0 0 12px; }
.features li, .steps li, .req li { margin-bottom: 10px; }
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 46px; }
.steps li::before {
content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%;
display: grid; place-items: center; font: 800 17px/1 var(--font-headline); color: var(--ink); background: var(--grad);
}
.modes dt { font-weight: 800; color: var(--cream); margin-top: 12px; }
.modes dd { margin: 2px 0 0; color: var(--soft); }
/* ---- sections ---- */
.stop { width: min(100% - 2 * var(--gutter), var(--wrap)); margin: 0 auto; padding: clamp(36px, 4.5vw, 64px) 0; display: flex; flex-direction: column; gap: 28px; }
main > .stop:first-child { padding-top: calc(var(--bar-h) + clamp(40px, 6vw, 80px)); }
.stop[hidden], .photo-state[hidden], .design-state[hidden] { display: none; }
.section-head { max-width: 760px; }
.section-head .aside, .section-head .lead { margin: 0; }
.section-head h1, .section-head h2 { margin-bottom: 12px; }
.section-head.row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; }
.section-head.row > div { max-width: 760px; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split > .section-head { max-width: none; }
.ticks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--soft); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); -webkit-mask: radial-gradient(circle, transparent 0 3px, #000000 3.5px); mask: radial-gradient(circle, transparent 0 3px, #000000 3.5px); }
/* Pictures that open in the viewer (photos.js): a card with its caption under the picture. Only the
picture's own button (a child of its figure or list item) is reset: a card's other buttons, such as
the thumbs-up (likes.js), keep their own look. */
.cards { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cards li.wide { grid-column: 1 / -1; }
.cards figure { margin: 0; height: 100%; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 16px 40px rgba(11, 7, 5, .35); }
.cards figure > button { all: unset; display: block; cursor: zoom-in; line-height: 0; overflow: hidden; position: relative; }
.cards figure > button:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; }
.cards img { display: block; width: 100%; height: auto; transition: transform .5s var(--ease); }
.cards figure > button:hover img { transform: scale(1.04); }
.cards li:not(.wide) img { aspect-ratio: 16 / 10; object-fit: cover; }
.cards li:not(.wide) img[src*="launcher"] { object-position: top; }
.cards figcaption { padding: 14px 18px 16px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.cards figcaption b { display: block; color: var(--cream); font: 800 19px/1.2 var(--font-headline); letter-spacing: -.005em; margin-bottom: 4px; }
.shots { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.shots li > button { all: unset; cursor: zoom-in; display: block; position: relative; border-radius: 14px; overflow: hidden; width: 100%; line-height: 0; }
.shots li > button:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; }
.shots img { display: block; width: 100%; height: auto; }
/* ---- the photo viewer (photos.js): one photo at a time, sliding to the next; and the video
player (videos.js), the same dialog around one video ---- */
html.viewer-open { overflow: hidden; }
#lightbox, #player {
position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0;
border: 0; background: transparent; color: var(--text); overflow: hidden;
}
#lightbox::backdrop, #player::backdrop { background: rgba(15, 10, 6, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
#lightbox[open], #player[open] { display: block; animation: viewer-in .22s var(--ease); }
@keyframes viewer-in { from { opacity: 0; } to { opacity: 1; } }
#lightbox form, #player form { margin: 0; }
#lightbox .close, #player .close {
all: unset; position: absolute; z-index: 3; right: max(12px, env(safe-area-inset-right)); top: 12px; width: 46px; height: 46px; border-radius: 50%;
display: grid; place-items: center; font-size: 30px; line-height: 1; cursor: pointer; color: var(--cream); background: rgba(241, 227, 206, .08);
}
#lightbox .close:hover, #player .close:hover { background: rgba(228, 150, 87, .2); }
#lightbox .close:focus-visible, #player .close:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.player-stage { position: absolute; left: 0; right: 0; top: 70px; bottom: 92px; display: grid; place-items: center; padding: 0 clamp(12px, 6vw, 96px); }
.player-stage video { display: block; width: 100%; height: 100%; max-height: 100%; object-fit: contain; background: transparent; border-radius: 10px; }
.player-stage video:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.viewer-count { position: absolute; z-index: 2; left: max(18px, env(safe-area-inset-left)); top: 20px; margin: 0; font: 700 15px/1 var(--font-ui); letter-spacing: .12em; color: var(--muted); font-variant-numeric: tabular-nums; }
.viewer-count b { color: var(--cream); }
.viewer-stage { position: absolute; left: 0; right: 0; top: 70px; bottom: 92px; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.viewer-stage.dragging { cursor: grabbing; }
.viewer-track { position: absolute; inset: 0; will-change: transform; }
.viewer-track.moving { transition: transform .42s var(--ease); }
.viewer-slide { position: absolute; inset: 0; display: grid; place-items: center; padding: 0 clamp(12px, 7vw, 110px); transform: translateX(calc(var(--pos, 0) * 100%)); }
.viewer-slide[hidden] { display: none; }
.viewer-box { width: 100%; height: 100%; container-type: size; display: grid; place-items: center; }
.viewer-frame {
position: relative; aspect-ratio: var(--ar, 16 / 9); width: min(100cqw, 100cqh * var(--ar, 1.7778)); border-radius: 12px; overflow: hidden;
background: rgba(241, 227, 206, .04); box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.viewer-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; -webkit-user-drag: none; }
.viewer-lo { filter: blur(10px); transform: scale(1.04); opacity: .7; }
.viewer-lo:not([src]) { display: none; }
.viewer-hi { opacity: 0; transition: opacity .3s ease; }
.viewer-hi:not([src]) { visibility: hidden; }
.viewer-hi.is-loaded { opacity: 1; }
.viewer-frame::after { content: ""; position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 3px solid rgba(241, 227, 206, .25); border-top-color: var(--orange); animation: spin .8s linear infinite; }
.viewer-frame.is-loaded::after { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.viewer-nav {
all: unset; position: absolute; z-index: 2; top: calc(50% - 10px); width: 54px; height: 54px; margin-top: -27px; border-radius: 50%; cursor: pointer;
display: grid; place-items: center; color: var(--cream); background: rgba(39, 28, 20, .72); border: 1px solid rgba(241, 227, 206, .18);
-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .15s, opacity .2s, transform .15s;
}
.viewer-nav::before { content: ""; width: 12px; height: 12px; border: solid currentColor; border-width: 0 3px 3px 0; transform: translateX(-2px) rotate(-45deg); }
.viewer-prev { left: max(14px, env(safe-area-inset-left)); }
.viewer-prev::before { transform: translateX(2px) rotate(135deg); }
.viewer-next { right: max(14px, env(safe-area-inset-right)); }
.viewer-nav:hover { background: rgba(228, 150, 87, .28); }
.viewer-nav:active { transform: scale(.94); }
.viewer-nav:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.viewer-nav:disabled { opacity: 0; pointer-events: none; }
.viewer-nav[hidden] { display: none; }
.viewer-cap {
position: absolute; left: 0; right: 0; bottom: 0; height: 92px; margin: 0; padding: 14px 80px calc(14px + env(safe-area-inset-bottom));
display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2px;
}
.viewer-cap b { font: 800 21px/1.2 var(--font-headline); color: var(--cream); letter-spacing: .01em; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viewer-cap span { color: var(--muted); font-size: 15px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viewer-cap span:empty { display: none; }
/* a community photo's Share and Copy link, left of the close button; on a phone only one of them
(the share sheet has a copy of its own) */
.viewer-share { position: absolute; z-index: 3; top: 15px; right: calc(max(12px, env(safe-area-inset-right)) + 56px); display: flex; gap: 8px; }
.viewer-share[hidden] { display: none; }
.viewer-share-btn {
all: unset; box-sizing: border-box; min-height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center;
font: 700 15px/1 var(--font-ui); letter-spacing: .02em; color: var(--cream); background: rgba(241, 227, 206, .08); border: 1px solid rgba(241, 227, 206, .18);
}
.viewer-share-btn:hover { background: rgba(228, 150, 87, .2); }
.viewer-share-btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
@media (pointer: coarse) { .viewer-share-btn { min-height: 44px; } }
@media (max-width: 700px) {
.viewer-stage, .player-stage { top: 64px; bottom: 96px; }
.player-stage { padding: 0; }
.player-stage video { border-radius: 0; }
.viewer-slide { padding: 0 8px; }
.viewer-nav { top: auto; bottom: 22px; margin-top: 0; width: 48px; height: 48px; }
.viewer-cap { padding: 12px 72px calc(12px + env(safe-area-inset-bottom)); }
.viewer-cap b { font-size: 20px; }
.viewer-share.has-native .viewer-copy { display: none; }
}
@media (pointer: coarse) and (min-width: 701px) { .viewer-nav { width: 58px; height: 58px; } }
/* ---- the footer ---- */
footer { position: relative; z-index: 1; margin-top: clamp(40px, 6vw, 80px); padding: 56px var(--gutter) 44px; color: var(--muted); font-size: 14px; background: var(--bg-deep); border-top: 1px solid var(--line); }
footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--orange) 30%, var(--pink) 70%, transparent); opacity: .55; }
.foot-top { max-width: var(--wrap); margin: 0 auto 36px; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand p { margin: 14px 0 18px; max-width: 34ch; color: var(--muted); font-size: 15px; }
.foot-brand .btn { padding: 11px 18px; font-size: 15.5px; }
.foot-col p.foot-h { margin: 6px 0 12px; color: var(--cream); font: 700 13px/1.2 var(--font-ui); letter-spacing: .18em; text-transform: uppercase; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-col a { color: var(--soft); text-decoration: none; font-size: 15px; }
.foot-col a:hover { color: var(--orange); text-decoration: underline; }
.foot-legal { max-width: var(--wrap); margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--line); }
footer p { max-width: 920px; margin: 0 0 10px; }
.foot-legal p { font-size: 13.5px; line-height: 1.55; }
@media (max-width: 900px) {
.foot-top { grid-template-columns: 1fr 1fr 1fr; }
.foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
.foot-top { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
.foot-col:last-child { grid-column: 1 / -1; }
}
/* ---- the numbers on the Features page ---- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0 0 22px; }
.stats div { background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.stats dt { font: 800 34px/1 var(--font-headline); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats dd { margin: 6px 0 0; font-size: 14.5px; color: var(--soft); line-height: 1.35; }
.fps { width: 100%; border-collapse: collapse; margin: 0 0 12px; font-variant-numeric: tabular-nums; }
.fps caption { text-align: left; font: 700 17px/1.3 var(--font-ui); color: var(--cream); padding-bottom: 8px; }
.fps th, .fps td { padding: 10px 12px; text-align: right; border-bottom: 1px solid var(--border); }
.fps thead th { color: var(--muted); font-size: 13px; font-weight: 700; }
.fps tbody th { color: var(--orange); font-weight: 800; text-align: left; }
.fps thead th:first-child { text-align: left; }
/* ---- pages with a heading and a list (gallery, designs, mods, account, FAQ, press, leaderboards) ---- */
.board-page { padding: calc(var(--bar-h) + clamp(32px, 5vw, 64px)) var(--gutter) 40px; max-width: 1520px; margin: 0 auto; }
.board-page .panel { width: 100%; }
.lb-head, .page-head { margin: 0 0 28px; }
.lb-head h1, .page-head h1 { margin: 0 0 10px; }
.lb-head .h1-big, .page-head .h1-big { font-size: clamp(38px, 5vw, 68px); }
.lb-head .aside, .page-head .aside { margin: 0; max-width: 860px; color: var(--soft); font-size: 17px; }
/* ---- leaderboards page: the map of Colorado and the board beside it ---- */
.lb-page {
--select-bg: #37281e;
--state-error: #faede8;
--map-sea: rgba(28, 20, 14, .72);
--map-land: #4b392d; --map-drop: #150e09; --map-shore: #f1e3ce;
--map-plains: #513e31; --map-hills: #5a4537; --map-foothills: #604b3d; --map-mountains: #715746; --map-redrock: #5f4238;
--map-water: #314f65; --map-water-edge: #8cb5d3;
--map-peak-a: #997862; --map-peak-b: #644a39; --map-snow: #f9f4ec;
--map-mesa-a: #a0705e; --map-mesa-b: #6f4c3f; --map-tree: #4a6940;
--map-field: #594537; --map-furrow: #6a5344; --map-glow: #e49657;
--map-road: #ddc0a8; --map-road-main: #f1e3ce; --map-road-freeway: #e49657; --map-road-dirt: #ca9e7a; --map-road-casing: #271c14;
--map-label: #f1e3ce; --map-name: #f1e3ce; --map-name-halo: #4b392d; --chip-ring: #f1e3ce;
--map-icon-bg: #3c2c22; --map-icon-line: #f1e3ce; --map-icon-a: #df9174; --map-icon-b: #e49657; --map-icon-ink: #3c2c22;
--pin-trap: #df9174; --pin-zone: #e49657; --pin-event: #e9c381; --pin-glyph: #2b1f17; --pin-ring: #f1e3ce; --pin-shadow: rgba(19, 13, 9, .55);
--tip-bg: rgba(39, 28, 20, .96);
}
@media (prefers-color-scheme: light) {
.lb-page {
--bg: #f6ecdc; --panel: rgba(255, 250, 242, .92); --border: #dcc8ad; --text: #3a2414; --muted: #6d5440; --cream: #4a2c18;
--orange: #94421a; --pink: #9c4520; --grad: linear-gradient(100deg, #b3561f, #8e3d1c);
--sky-top: #f0e0c6; --sky-bottom: #e2b27e; --ridge-far: #d9b892; --ridge-near: #cba37a;
--select-bg: #ffffff; --state-error: #844b37;
--map-sea: rgba(253, 251, 248, .55);
--map-land: #f6f1e9; --map-drop: #ac9f97; --map-shore: #7c6658;
--map-plains: #eae0d1; --map-hills: #e6dcce; --map-foothills: #ded6c9; --map-mountains: #efe3d4; --map-redrock: #e4d6c1;
--map-water: #b9d1e2; --map-water-edge: #5c85a2;
--map-peak-a: #decdc1; --map-peak-b: #bca595; --map-snow: #ffffff;
--map-mesa-a: #cd9986; --map-mesa-b: #a57563; --map-tree: #819b78;
--map-field: #e6d7bd; --map-furrow: #d6c19e; --map-glow: #e49758;
--map-road: #ab9086; --map-road-main: #765743; --map-road-freeway: #c77e43; --map-road-dirt: #a27958; --map-road-casing: #fcfaf6;
--map-label: #715a4b; --map-name: #3f2f25; --map-name-halo: #f6f1e9; --chip-ring: #7f6f65;
--map-icon-bg: #fcfaf6; --map-icon-line: #604737; --map-icon-a: #bf7054; --map-icon-b: #d58747; --map-icon-ink: #604737;
--pin-trap: #b8694c; --pin-zone: #c46f2a; --pin-event: #9f742b; --pin-glyph: #ffffff; --pin-ring: #fcfaf6; --pin-shadow: rgba(96, 71, 55, .35);
--tip-bg: rgba(253, 251, 249, .97);
--drop-bg: #fdfbf8; --menu-bg: #fdfaf6;
--sky-mid: #ebd2ae; --soft: #4a3424; --line: rgba(74, 44, 24, .14); --bg-deep: #efe2cc;
--surface: #fffaf2; --surface-2: #f3e6d2; --stars: 0;
color-scheme: light;
}
.lb-page .scene { -webkit-mask-image: none; mask-image: none; height: clamp(300px, 44vh, 440px); }
.lb-page .scene::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(180deg, transparent, var(--bg)); }
.lb-page .topbar::before { border-bottom-color: var(--border); box-shadow: none; }
.lb-page nav .nav-discord, .lb-page nav .nav-account { color: var(--muted); }
.lb-page .brand span { color: var(--text); }
.lb-page footer a:not(.btn) { color: var(--pink); }
.lb-page .foot-col a { color: var(--soft); }
.lb-page .btn.ghost { border-color: var(--border); background: rgba(255, 255, 255, .6); }
.lb-page .foot-col p.foot-h { color: var(--text); }
html:has(> body.lb-page)::-webkit-scrollbar-track, html:has(> body.lb-page)::-webkit-scrollbar-corner, .lb-page ::-webkit-scrollbar-track { background: #efe2cc; }
html:has(> body.lb-page)::-webkit-scrollbar-thumb, .lb-page ::-webkit-scrollbar-thumb { border-color: #efe2cc; }
@supports (-moz-appearance: none) { :root:has(> body.lb-page) { scrollbar-color: #c77e43 #efe2cc; } }
.lb-page .topbar { background: none; border-bottom-color: var(--border); }
.lb-page .topbar::before { background: linear-gradient(180deg, rgba(253, 250, 246, .94), rgba(253, 250, 246, .7)); }
.lb-page .brand { color: var(--text); }
.lb-page nav a, .lb-page .menu summary { color: var(--muted); }
.lb-page nav a:hover, .lb-page a:hover, .lb-page .menu summary:hover, .lb-page .menu[open] summary { color: var(--pink); }
.lb-page .menu:has(a[aria-current="page"]) > summary, .lb-page nav a[aria-current="page"] { color: var(--pink); text-decoration-color: var(--pink); }
.lb-page .nav-toggle { color: var(--text); }
.lb-page nav .nav-discord { color: var(--text); }
.lb-page footer { background: linear-gradient(180deg, transparent, #efe2cc 40%); }
.lb-page nav .nav-cta, .lb-page nav .nav-cta:hover, .lb-page nav .nav-cta[aria-current="page"] { color: #ffffff; }
.lb-page .panel { box-shadow: 0 20px 60px rgba(96, 71, 55, .14); }
}
.lb-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.lb-map { position: relative; border-radius: 20px; border: 1px solid var(--border); background: var(--map-sea); overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.lb-canvas { position: relative; aspect-ratio: 1.27; min-height: 300px; max-height: max(380px, calc(100vh - 250px)); touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; outline: none; }
.lb-canvas.dragging { cursor: grabbing; }
.lb-canvas:focus-visible { box-shadow: inset 0 0 0 2px var(--orange); }
.lb-canvas svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lb-canvas .cm-roads path, .lb-canvas .cm-water, .lb-canvas .cm-shore { vector-effect: non-scaling-stroke; }
.lb-canvas .cmap { --map-rw-casing: calc(4.4px * var(--cm-zr, 1)); --map-rw-dirt: calc(1.4px * var(--cm-zr, 1)); --map-rw-minor: calc(1.3px * var(--cm-zr, 1));
--map-rw-main: calc(2.2px * var(--cm-zr, 1)); --map-rw-freeway: calc(3px * var(--cm-zr, 1)); --map-dirt-dash: 3 3; }
.lb-canvas .cm-water { stroke-width: 1.5px; }
.lb-canvas .cm-shore { stroke-width: 1.5px; }
.lb-canvas .cm-mk { transform: translate(calc(var(--x) * 1px), calc(var(--y) * 1px)) scale(var(--cm-s, 1)); }
.lb-pin { transform: translate(calc(var(--x) * 1px), calc(var(--y) * 1px)) scale(calc(var(--cm-s, 1) * var(--pin-k, 1))); }
.lb-pin-event { --pin-k: .86; }
.lb-canvas .cm-label { font-size: 13px; fill-opacity: .3; stroke-opacity: .18; }
.lb-canvas .cm-name { font-size: 11.5px; stroke-width: 3.5px; }
.lb-canvas .cmap.far .cm-lm-town .cm-name { display: none; }
.lb-canvas .cm-lm use { pointer-events: auto; }
.lb-canvas .cm-wave { stroke-width: 2px; vector-effect: non-scaling-stroke; }
.lb-state { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); padding: 20px; text-align: center; }
.lb-pin { cursor: pointer; outline: none; }
.lb-pin .pin-hit { fill: transparent; }
.lb-pin .pin-shadow { fill: var(--pin-shadow); }
.lb-pin .pin-body { stroke: var(--pin-ring); stroke-width: 2; }
.lb-pin .pin-glyph { fill: var(--pin-glyph); }
.lb-pin .pin-glyph-line { fill: none; stroke: var(--pin-glyph); stroke-width: 2; stroke-linecap: round; }
.lb-pin-trap .pin-body { fill: var(--pin-trap); }
.lb-pin-zone .pin-body { fill: var(--pin-zone); }
.lb-pin-event .pin-body { fill: var(--pin-event); }
.lb-pin .pin-in { transition: transform .15s; }
.lb-pin.is-empty .pin-in { transform: scale(.72); opacity: .62; }
.lb-pin:hover .pin-in, .lb-pin:focus-visible .pin-in { transform: scale(1.22); opacity: 1; }
.lb-pin .pin-ring { fill: none; stroke: var(--pin-ring); stroke-width: 2.5; opacity: 0; }
.lb-pin:focus-visible .pin-ring { opacity: 1; stroke: var(--orange); }
.lb-pin.is-sel .pin-in { transform: scale(1.3); opacity: 1; }
.lb-pin.is-sel .pin-ring { opacity: 1; animation: lb-pulse 1.8s ease-out infinite; transform-origin: 0 0; }
@keyframes lb-pulse { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
.lb-pins.hide-trap .lb-pin-trap, .lb-pins.hide-zone .lb-pin-zone, .lb-pins.hide-event .lb-pin-event, .lb-pins.hide-empty-event .lb-pin-event.is-empty { display: none; }
.lb-tools { position: absolute; z-index: 2; left: 12px; right: 12px; top: 12px; pointer-events: none; }
.lb-tools > * { pointer-events: auto; }
.lb-chips { display: flex; flex-wrap: wrap; gap: 6px; padding-right: 0; }
.lb-chip { font: inherit; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; cursor: pointer;
color: var(--text); background: var(--panel); border: 1px solid var(--border); backdrop-filter: blur(8px); }
.lb-chip[aria-pressed="false"] { opacity: .72; }
.lb-chip[aria-pressed="false"] .dot { background: transparent !important; }
.lb-chip .dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--chip-ring); box-sizing: content-box; }
.lb-chip .n { color: var(--muted); font-weight: 600; }
.lb-zoom { position: absolute; z-index: 2; right: 12px; bottom: 12px; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: var(--panel); backdrop-filter: blur(8px); }
.lb-zoom button { font: inherit; font-size: 20px; line-height: 1; width: 38px; height: 36px; border: 0; background: transparent; color: var(--text); cursor: pointer; }
.lb-zoom button + button { border-top: 1px solid var(--border); }
.lb-zoom button:hover { background: rgba(228, 150, 87, .16); }
.lb-zoom .reset { font-size: 15px; }
.lb-help { position: absolute; z-index: 1; left: 12px; bottom: 10px; margin: 0; font-size: 12px; color: var(--muted); background: var(--panel); border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px; pointer-events: none; }
.lb-tip { position: absolute; z-index: 3; pointer-events: none; min-width: 180px; max-width: 280px; padding: 9px 12px; border-radius: 12px; font-size: 13px; line-height: 1.35;
background: var(--tip-bg); color: var(--text); border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transform: translate(-50%, calc(-100% - 16px)); }
.lb-tip b { display: block; font-size: 14px; color: var(--cream); }
.lb-tip .k { color: var(--muted); font-size: 12px; }
.lb-tip .top { margin-top: 4px; font-variant-numeric: tabular-nums; }
.lb-tip .top strong { color: var(--orange); }
.lb-tip[hidden] { display: none; }
.lb-tip.card { pointer-events: auto; }
.lb-tip-go { display: block; width: 100%; margin-top: 8px; font: inherit; font-size: 13px; font-weight: 800; padding: 7px 10px; border: 0; border-radius: 9px;
cursor: pointer; color: #2b1f17; background: linear-gradient(90deg, var(--orange), var(--pink)); }
.lb-panel { position: sticky; top: 76px; max-height: calc(100vh - 92px); overflow: auto; }
.lb-board-head { margin: 4px 0 8px; }
.lb-board-head h2 { font-size: clamp(22px, 2.4vw, 30px); margin: 4px 0 6px; }
.lb-kind { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.lb-kind .dot { width: 9px; height: 9px; border-radius: 50%; }
.lb-best { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; margin: 0 0 6px; }
.lb-best strong { font-size: 26px; font-weight: 900; background: linear-gradient(90deg, var(--orange), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.lb-best span { color: var(--muted); font-size: 14px; }
.lb-intro { color: var(--muted); font-size: 15px; }
.board-controls { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 14px; }
.board-controls label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; color: var(--muted); flex: 1 1 180px; min-width: 0; }
.board-controls label:last-child { flex: 0 1 150px; }
.board-controls select { font: inherit; font-size: 16px; color: var(--text); background: var(--select-bg); border: 1px solid var(--border); border-radius: 10px; padding: 9px 10px; width: 100%; min-width: 0; text-overflow: ellipsis; }
.board-meta { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.board-wrap { overflow-x: auto; }
.board { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.board th, .board td { padding: 7px 6px; text-align: left; border-bottom: 1px solid var(--border); }
.board thead th { color: var(--muted); font-size: 13px; font-weight: 700; white-space: nowrap; }
/* "Driver and car" may wrap: kept on one line it made the table wider than the side panel (a sideways scrollbar). */
.board thead th:nth-child(3) { white-space: normal; }
.board td:first-child, .board th:first-child { text-align: right; color: var(--orange); font-weight: 800; width: 2em; }
.board .num { text-align: right; white-space: nowrap; font-weight: 700; color: var(--cream); }
.board .who { overflow-wrap: anywhere; }
.board td:last-child { white-space: nowrap; font-size: 14px; color: var(--muted); }
.board .who small { display: block; font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.board tbody tr:nth-child(-n+3) td:first-child { color: var(--pink); }
.board-state { padding: 18px 0; color: var(--muted); }
.board-state.error { color: var(--state-error); }
/* The side panel is under 400px wide up to 1360px: no room for the date there. */
@media (max-width: 1360px) { .lb-panel .board .opt { display: none; } }
@media (max-width: 900px) {
.lb-grid { grid-template-columns: minmax(0, 1fr); }
.lb-canvas { aspect-ratio: auto; height: min(62vh, 560px); max-height: none; }
.lb-panel { position: static; max-height: none; overflow: visible; }
.lb-panel .board .opt { display: table-cell; }
}
@media (max-width: 600px) {
.board-page { padding: 76px 12px 40px; }
.lb-head .aside, .page-head .aside { font-size: 14px; }
.lb-map { border-radius: 16px; }
.lb-tools { left: 8px; right: 8px; top: 8px; }
.lb-zoom { right: 8px; bottom: 8px; }
.lb-zoom button { width: 40px; height: 40px; }
.lb-chip { font-size: 12px; padding: 5px 9px; }
.lb-chip .n { display: none; }
.lb-help { display: none; }
.lb-canvas { --pin-k: .8; }
.lb-pin-event { --pin-k: .7; }
.lb-panel .board .opt { display: none; }
.lb-page .lb-panel { padding: 16px 14px; }
.board th, .board td { padding: 8px 4px; }
.board .num { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
.lb-pin .pin-in { transition: none; }
.lb-pin.is-sel .pin-ring { animation: none; opacity: 1; }
}
/* ---- the landing page ---- */
.landing .scene { height: max(100vh, 680px); height: max(100svh, 680px); -webkit-mask-image: linear-gradient(180deg, #000000 82%, transparent); mask-image: linear-gradient(180deg, #000000 82%, transparent); }
.landing { --sky-top: #3a2616; --sky-mid: #b07a4c; --sky-bottom: #f0cb92; --ridge-far: #9a5a33; --ridge-near: #4a3122; --stars: .12; }
.landing .sky { background: linear-gradient(180deg, var(--sky-top) 0%, #5a3b24 24%, #8a5c38 42%, var(--sky-mid) 58%, #dca36a 78%, var(--sky-bottom) 100%); }
/* A shade behind the words, so the light text keeps its contrast over the bright horizon. */
.landing .scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 14, 10, .74) 0%, rgba(20, 14, 10, .62) 40%, rgba(20, 14, 10, .3) 58%, transparent 74%); }
.landing .stars { inset: 0 0 50% 0; }
.landing .sun {
display: block; position: absolute; left: 71.875%; bottom: 25.5%; width: clamp(150px, 21vw, 400px); height: auto; margin-left: calc(clamp(150px, 21vw, 400px) / -2);
transform: translateY(calc(var(--hero-t, 0) * 120px)); filter: drop-shadow(0 0 70px rgba(246, 205, 140, .6));
}
.landing .ridge.far { height: 36%; }
.landing .ridge.near { height: 26%; }
.hero-road { position: absolute; left: 0; bottom: 0; width: 100%; height: 27%; }
.hero-road .asphalt { fill: #2a1d15; }
.hero-road .edge { fill: none; stroke: #ead9bd; stroke-opacity: .55; stroke-width: 3; vector-effect: non-scaling-stroke; }
.hero-road .dash { fill: #f0d9a8; opacity: .85; }
.glow { position: absolute; left: 0; right: 0; bottom: 10%; height: 44%; background: radial-gradient(42% 50% at 72% 62%, rgba(246, 205, 140, .45), transparent 75%); }
.hero {
position: relative; min-height: max(100vh, 680px); min-height: max(100svh, 680px);
display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; justify-items: start;
width: min(100% - 2 * var(--gutter), var(--wrap)); margin: 0 auto; padding: calc(var(--bar-h) + 40px) 0 150px;
}
.hero-copy { max-width: 760px; }
.hero-logo { display: block; width: auto; height: clamp(64px, 7.5vw, 104px); margin: 0 0 22px; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .45)); }
.hero h1 { margin: 0 0 20px; filter: drop-shadow(0 6px 30px rgba(28, 20, 14, .55)); }
.hero .h1-small { font-size: clamp(20px, 2.6vw, 34px); letter-spacing: .05em; }
.hero .h1-big { font-size: clamp(52px, 8.8vw, 132px); line-height: 1.05; letter-spacing: -.02em; }
.hero .lead { font-size: clamp(18px, 1.8vw, 23px); color: #f9f4ec; text-shadow: 0 2px 18px rgba(28, 20, 14, .7); max-width: 34em; }
.hero-tag {
display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 14px 7px 8px; border-radius: 999px;
background: rgba(28, 20, 14, .45); border: 1px solid rgba(241, 227, 206, .2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
font: 600 14px/1 var(--font-ui); letter-spacing: .06em; color: var(--cream);
}
.hero-tag b { padding: 5px 9px; border-radius: 999px; background: var(--grad); color: var(--ink); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.hero .cta { margin-top: 30px; }
.hero .btn { padding: 15px 24px; font-size: 18px; }
.hero .btn.ghost { background: rgba(40, 29, 21, .86); border-color: rgba(241, 227, 206, .4); }
.hero .btn.ghost:hover { background: rgba(51, 38, 29, .8); }
/* Players online now (online.js). Without scripts there is no line at all; with them the line is
kept from the start at the pill's own height (--live-h) between 12px gaps, the buttons' own, so
showing the pill moves nothing and a hidden one leaves only a little more room above the note. */
.hero-live { --live-h: 30px; display: none; margin: 0; }
html.js .hero-live { display: flex; align-items: flex-start; height: var(--live-h); margin-top: 12px; }
html.js .hero-live + .hero-note { margin-top: 12px; }
.hero-live-pill {
display: inline-flex; align-items: center; gap: 9px; box-sizing: border-box; height: var(--live-h); padding: 0 14px 0 12px; border-radius: 999px; white-space: nowrap;
background: rgba(28, 20, 14, .55); border: 1px solid rgba(241, 227, 206, .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
font: 600 15px/1.2 var(--font-ui); letter-spacing: .03em; color: var(--cream); text-decoration: none;
transition: opacity .4s var(--ease), border-color .18s;
}
.hero-live-pill:hover { color: #ffffff; border-color: var(--orange); }
.hero-live-pill[hidden] { display: inline-flex; visibility: hidden; opacity: 0; }
.live-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #8fd18a; box-shadow: 0 0 8px rgba(143, 209, 138, .7); flex: none; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #8fd18a; opacity: 0; animation: live-ping 2.4s ease-out infinite; }
@keyframes live-ping { 0% { transform: scale(.5); opacity: .8; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.hero-note { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0 0; max-width: 36em; font-size: 15px; color: #faf5ee; text-shadow: 0 1px 10px rgba(28, 20, 14, .8); }
.hero-note::before { margin-top: 2px; color: var(--cream); }
.hero-note strong { color: #ffffff; }
.scroll-hint {
position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2;
display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 14px;
color: var(--cream); text-decoration: none; font: 700 13px/1 var(--font-ui); letter-spacing: .2em; text-transform: uppercase;
text-shadow: 0 2px 10px rgba(28, 20, 14, .9); transition: opacity .4s, transform .4s var(--ease); white-space: nowrap;
}
.scroll-hint:hover { color: #ffffff; }
.scroll-hint .mouse { width: 26px; height: 40px; border: 2px solid currentColor; border-radius: 14px; position: relative; box-shadow: 0 0 18px rgba(28, 20, 14, .6); }
.scroll-hint .mouse::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--orange); animation: wheel 1.8s var(--ease) infinite; }
.scroll-hint svg { margin-top: -6px; animation: hint-bob 1.8s ease-in-out infinite; }
.scroll-hint.is-gone { opacity: 0; transform: translate(-50%, 10px); pointer-events: none; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@keyframes hint-bob { 0%, 100% { transform: translateY(0); opacity: .6; } 50% { transform: translateY(5px); opacity: 1; } }
/* The facts under the first screen. */
.facts-band { position: relative; z-index: 1; background: var(--sand); color: #3a2414; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 -1px 0 rgba(0, 0, 0, .2); }
.facts { width: min(100% - 2 * var(--gutter), var(--wrap)); margin: 0 auto; padding: 28px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.facts div { display: flex; flex-direction: column; gap: 6px; padding-left: 18px; border-left: 3px solid rgba(154, 79, 38, .45); }
.facts dt { font: 800 clamp(32px, 3.6vw, 48px)/1 var(--font-headline); color: #9a4f26; }
.facts dd { margin: 0; color: #3a2414; font-size: 15px; line-height: 1.35; }
/* Online again: words on one side, two pictures on the other. */
.media-pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
/* Three image tiles that lead into the site. */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile {
position: relative; display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--muted);
background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
box-shadow: 0 16px 40px rgba(11, 7, 5, .35); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.tile:hover, .tile:focus-visible { color: var(--muted); transform: translateY(-4px); border-color: rgba(228, 150, 87, .5); box-shadow: 0 24px 50px rgba(11, 7, 5, .5); }
.tile:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.tile-pic { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface-2); }
.tile-pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover .tile-pic img { transform: scale(1.05); }
.tile-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(46, 33, 25, .9) 86%, var(--surface)); }
.tile-body { display: flex; flex-direction: column; gap: 6px; padding: 4px 22px 24px; margin-top: -26px; position: relative; z-index: 1; flex: 1; }
.tile-kicker { color: var(--orange); font: 700 12.5px/1.2 var(--font-ui); letter-spacing: .18em; text-transform: uppercase; }
.tile b { color: var(--cream); font: 800 24px/1.15 var(--font-headline); letter-spacing: -.01em; }
.tile b::after { content: " \2192"; color: var(--orange); display: inline-block; transition: transform .2s var(--ease); }
.tile:hover b::after { transform: translateX(4px); }
.tile-body > span:last-child { font-size: 15.5px; line-height: 1.5; }
/* The last call on the landing page and the Download page. */
.finale {
position: relative; overflow: hidden; border-radius: 26px; border: 1px solid rgba(241, 227, 206, .14);
padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 48px; align-items: center;
background:
radial-gradient(70% 120% at 100% 100%, rgba(235, 184, 119, .5), transparent 60%),
radial-gradient(50% 90% at 70% 110%, rgba(208, 112, 63, .5), transparent 70%),
linear-gradient(160deg, #3a281c, #2a1f17 60%);
box-shadow: 0 30px 80px rgba(11, 7, 5, .45);
}
.finale::after {
content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; pointer-events: none; opacity: .9;
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 300' preserveAspectRatio='none'%3E%3Cpolygon fill='%23241912' fill-opacity='.8' points='0,300 0,220 120,170 260,230 420,120 560,215 700,160 880,240 1030,150 1180,230 1340,140 1480,210 1600,180 1600,300'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
}
.finale > * { position: relative; z-index: 1; }
.finale h2 { font-size: clamp(32px, 4.2vw, 54px); }
.finale .aside { color: var(--soft); font-size: 17px; margin: 0; }
.finale .cta { margin: 0; display: grid; gap: 12px; justify-self: end; width: min(100%, 400px); }
.finale .notice { grid-column: 1 / -1; margin: 0; max-width: 640px; background: rgba(28, 20, 14, .5); }
/* ---- community photos: the landing page's newest, gallery.html and the profile pages (photos.js) ---- */
.shots.photos { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.shots.photos li {
display: flex; flex-direction: column; min-width: 0; border-radius: var(--radius); overflow: hidden;
background: var(--surface); border: 1px solid var(--line); box-shadow: 0 14px 36px rgba(11, 7, 5, .35);
transition: border-color .2s, transform .25s var(--ease), box-shadow .25s;
}
.shots.photos li:hover { border-color: rgba(228, 150, 87, .45); transform: translateY(-3px); box-shadow: 0 22px 46px rgba(11, 7, 5, .5); }
.shots.photos li > button { border-radius: 0; }
.shots.photos li > button::after {
content: ""; position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border-radius: 50%; opacity: 0; transition: opacity .2s;
background: rgba(28, 20, 14, .7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f1e3ce' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M15 4h5v5M9 20H4v-5M20 4l-6 6M4 20l6-6'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.shots.photos li > button:hover::after, .shots.photos li > button:focus-visible::after { opacity: 1; }
.shots.photos img { aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface-2); transition: transform .5s var(--ease); }
.shots.photos li > button:hover img { transform: scale(1.04); }
.photo-body { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 14px; flex: 1; min-width: 0; }
.photo-title { color: var(--cream); font: 700 17px/1.3 var(--font-ui); letter-spacing: .01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.photo-where { color: var(--muted); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.photo-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; margin-top: auto; padding-top: 10px; font-size: 14px; }
.photo-body > .photo-foot:first-child { padding-top: 0; }
.photo-foot:has(> .like-slot:empty:only-child) { display: none; }
.photo-by { display: inline-flex; align-items: center; gap: 9px; min-width: 0; color: var(--soft); font-weight: 600; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.photo-by::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--pink)); box-shadow: inset 0 0 0 2px rgba(28, 20, 14, .35); }
a.photo-by:hover { color: var(--orange); text-decoration: underline; }
.shots.photos.all { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.photo-state, .design-state { color: var(--muted); margin: 10px 2px 0; }
.photo-state.error, .design-state.error { color: #faede8; }
.photo-state.photo-gone { margin: 0 2px 18px; color: var(--text); }
.shots.photos li[hidden] { display: none; }
/* gallery.html's filter by gamertag and sort (photos.js): in the page from the start, the count
with its line kept, so nothing moves when the photos come in; not shown without JavaScript */
.photo-controls { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; margin: 0 0 20px; }
html:not(.js) .photo-controls { display: none; }
.photo-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.photo-field label { font: 700 13px/1.2 var(--font-ui); letter-spacing: .06em; color: var(--muted); }
.photo-find { flex: 1 1 260px; max-width: 420px; }
.photo-order { flex: 0 1 200px; }
.photo-controls select, .photo-controls input {
font: inherit; font-family: var(--font-body); letter-spacing: 0; font-size: 16px; font-weight: 400; color: var(--text);
background: var(--select-bg, #37281e); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; width: 100%; min-width: 0; text-overflow: ellipsis;
}
.photo-controls select, .photo-controls input { box-sizing: border-box; height: 46px; line-height: 1.2; }
.photo-controls input { padding-right: 48px; -webkit-appearance: none; appearance: none; }
.photo-controls input::placeholder { color: var(--muted); opacity: .8; }
.photo-controls input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.photo-controls select:focus-visible, .photo-controls input:focus-visible { outline: 2px solid var(--orange); outline-offset: 1px; }
.filter-box { position: relative; }
.filter-clear {
position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 10px;
background: transparent; color: var(--soft); font: 400 26px/1 var(--font-ui); cursor: pointer;
}
.filter-clear:hover { color: var(--orange); background: rgba(241, 227, 206, .08); }
.filter-clear:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; }
.filter-clear[hidden] { display: none; }
.photo-count { margin: 0 2px 11px auto; min-height: 20px; color: var(--muted); font-size: 14px; line-height: 20px; font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 11em; text-align: right; }
@media (max-width: 600px) {
.photo-controls { margin-bottom: 16px; }
.photo-find { flex: 1 1 100%; max-width: none; }
.photo-order { flex: 1 1 auto; }
/* a row of its own, kept whatever the count says, so the photos never move down */
.photo-count { flex: 1 1 100%; min-width: 0; margin: 0 2px; text-align: left; }
}
/* While the photos or the designs load (aria-busy, in the page and taken off by photos.js and
designs.js) the "Loading..." line keeps a screen of room below it, and a player's page and the
Online page keep their footer below the fold: nothing jumps when the list comes in. (Not the
videos: while there are none, the room would only close again.) */
.js [data-photos-live][aria-busy="true"] + .photo-state,
.js [data-designs-type][aria-busy="true"] + .design-state { min-height: 100vh; }
.js main:has([data-photos-owner][aria-busy="true"], [data-designs="3"][aria-busy="true"]) { min-height: 100vh; }
/* ---- community videos (videos.js): the photos' cards, with a play button and the length ---- */
.shots.videos li > button { cursor: pointer; }
.shots.videos li > button::after {
opacity: 1; left: 50%; top: 50%; right: auto; width: 58px; height: 58px; margin: -29px 0 0 -29px;
background: rgba(28, 20, 14, .72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f1e3ce'%3E%3Cpath d='M8 5.5v13l10.5-6.5z'/%3E%3C/svg%3E") 55% 50% / 26px no-repeat;
box-shadow: 0 0 0 2px rgba(241, 227, 206, .35); transition: background-color .2s, transform .25s var(--ease);
}
.shots.videos li > button:hover::after, .shots.videos li > button:focus-visible::after { background-color: rgba(208, 112, 63, .9); transform: scale(1.06); }
a.video-link { text-decoration: none; }
a.video-link:hover, a.video-link:focus-visible { color: var(--orange); text-decoration: underline; }
.video-len {
position: absolute; z-index: 1; right: 10px; bottom: 10px; padding: 4px 8px; border-radius: 8px; line-height: 1.2;
background: rgba(20, 14, 10, .8); color: #f4ebdd; font: 700 13px/1.2 var(--font-ui); letter-spacing: .04em; font-variant-numeric: tabular-nums;
}
.gallery-page { max-width: 1800px; }
.gallery-page .rules, .designs-page .rules { width: min(100%, 820px); margin-top: 48px; }
.rules ul { margin: 0; padding-left: 1.2em; }
.rules li { margin-bottom: 10px; color: var(--soft); font-size: 16px; }
.rules li b { color: var(--cream); }
.rules p { color: var(--soft); }
.press-page .rules, .faq-page .rules { margin: 0 0 16px; }
/* ---- likes (likes.js): a quiet thumbs-up and its count ----
The same pill as a link (signed out), a button (signed in and linked) or a plain count (your own),
on the photos, designs, mods and texture packs. Set from the slot as well, so that no card's own
button rule can take its padding or spacing away. */
.like-slot { margin-left: auto; flex: none; display: inline-flex; }
.like-slot:empty { display: none; }
.like, .like-slot > .like {
display: inline-flex; align-items: center; justify-content: center; gap: 7px; box-sizing: border-box;
min-width: 58px; height: 34px; min-height: 34px; margin: 0; padding: 0 13px 0 11px; border-radius: 999px;
line-height: 1; position: static; overflow: visible; cursor: default;
font: 700 15px/1 var(--font-ui); letter-spacing: .02em; color: var(--soft); text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap;
background: rgba(241, 227, 206, .07); border: 1px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
}
.like svg, .like-slot > .like svg { display: block; width: 17px; height: 17px; fill: currentColor; flex: none; }
button.like, a.like, .like-slot > button.like, .like-slot > a.like { cursor: pointer; }
button.like:hover, a.like:hover { color: var(--cream); background: rgba(228, 150, 87, .16); border-color: rgba(228, 150, 87, .4); }
button.like[aria-pressed="true"] { color: var(--ink); background: var(--grad); }
button.like[aria-pressed="true"]:hover { color: var(--ink); filter: brightness(1.06); }
button.like:disabled { opacity: .6; cursor: progress; }
.like.own { color: var(--muted); background: transparent; border-color: var(--line); }
.like-note { position: fixed; z-index: 60; left: 50%; bottom: 22px; transform: translateX(-50%); width: max-content; max-width: min(92vw, 520px); margin: 0; padding: 12px 18px; border-radius: 14px; background: var(--tip-bg); border: 1px solid var(--border); color: var(--cream); font-size: 15px; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.like-note[hidden] { display: none; }
/* ---- community designs: designs.html and the newest three on online.html (designs.js) ---- */
.designs-page { --select-bg: #37281e; }
.design-bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin: 0 0 20px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs [role="tab"] {
font: 700 16px/1.2 var(--font-ui); letter-spacing: .02em; display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
color: var(--cream); background: rgba(241, 227, 206, .05); border: 1px solid rgba(241, 227, 206, .22); border-radius: 999px; padding: 10px 20px;
}
.tabs [role="tab"]:hover { border-color: var(--orange); background: rgba(228, 150, 87, .12); }
.tabs [role="tab"][aria-selected="true"] { color: var(--ink); background: var(--grad); border-color: transparent; }
.tabs .n { font-weight: 700; font-size: 13px; opacity: .75; }
.tabs [role="tab"][aria-selected="true"] .n { opacity: 1; }
.tabs .n:empty { display: none; }
.board-controls { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 14px; }
.board-controls label { display: flex; flex-direction: column; gap: 5px; font: 700 13px/1.2 var(--font-ui); letter-spacing: .06em; color: var(--muted); flex: 1 1 180px; min-width: 0; }
.board-controls label:last-child { flex: 0 1 150px; }
.board-controls select, .board-controls input {
font: inherit; font-family: var(--font-body); letter-spacing: 0; font-size: 16px; font-weight: 400; color: var(--text);
background: var(--select-bg, #37281e); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; width: 100%; min-width: 0; text-overflow: ellipsis;
}
.board-controls input::placeholder { color: var(--muted); opacity: .8; }
.design-controls { margin: 0; flex: 0 1 560px; }
.design-controls label:last-child { flex: 0 1 200px; }
.design-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 300px); gap: 20px; align-items: start; }
.design-panel[hidden] { display: none; }
.design-panel .howto { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: calc(var(--bar-h) + 16px); padding: 22px 24px; }
.design-panel .designs, .design-panel .design-state { grid-column: 1; grid-row: 1; }
.design-panel .design-state { margin-top: 0; }
.howto h2 { font-size: 21px; margin: 0 0 14px; }
.howto .steps { margin: 0; }
.howto .steps li { font-size: 15px; line-height: 1.45; color: var(--soft); padding-left: 42px; }
.howto .steps li:last-child { margin-bottom: 0; }
.howto .steps b { color: var(--cream); }
.designs { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.designs.all { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.design { display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 14px 36px rgba(11, 7, 5, .35); transition: border-color .2s; }
.design:hover { border-color: rgba(228, 150, 87, .4); }
.design img {
display: block; width: 100%; height: auto; aspect-ratio: 9 / 5; object-fit: contain;
background: repeating-conic-gradient(rgba(255, 255, 255, .04) 0 25%, transparent 0 50%) 0 0 / 16px 16px, var(--surface-2);
}
.design-body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 12px 14px 14px; line-height: 1.35; }
.design-kind { color: var(--orange); font: 700 11.5px/1.3 var(--font-ui); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 3px; }
.design-title, .design-car, .design-by { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.design-title { color: var(--cream); font: 700 17px/1.3 var(--font-ui); }
.design-car, .design-by { color: var(--muted); font-size: 13.5px; font-weight: 600; }
.design-by b { color: var(--soft); }
.design-by a { color: var(--soft); font-weight: 700; text-decoration: none; }
.design-by a:hover { color: var(--orange); text-decoration: underline; }
.design-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 8px 0 12px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rating { display: inline-flex; align-items: baseline; gap: 5px; color: var(--soft); font-weight: 700; }
.rating small { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.rating.none { color: var(--muted); font-weight: 600; }
.rating-stars { --r: 0; position: relative; display: inline-block; font-size: 14px; line-height: 1; white-space: nowrap; color: rgba(241, 227, 206, .45); }
.rating-stars .on { position: absolute; left: 0; top: 0; width: calc(var(--r) * 20%); overflow: hidden; color: var(--orange); }
.design-code { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.design-code .k { grid-column: 1 / -1; color: var(--orange); font: 700 11.5px/1.2 var(--font-ui); letter-spacing: .16em; text-transform: uppercase; }
.design-code code {
font: 800 17px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .14em; color: var(--cream); text-align: center;
background: rgba(255, 255, 255, .05); border: 1px dashed var(--border); border-radius: 10px; padding: 7px 8px; user-select: all; -webkit-user-select: all;
}
.copy { font: 700 15px/1 var(--font-ui); color: var(--ink); background: var(--grad); border: 0; border-radius: 999px; padding: 10px 16px; min-width: 88px; cursor: pointer; }
.copy:hover { filter: brightness(1.08); }
.copy.done { background: var(--cream); }
@media (max-width: 900px) {
.design-panel { grid-template-columns: minmax(0, 1fr); }
.design-panel .howto { grid-column: auto; grid-row: auto; position: static; }
.design-panel .designs, .design-panel .design-state { grid-column: auto; grid-row: auto; }
}
@media (max-width: 600px) {
.design-bar { margin: 0 0 14px; }
.tabs { width: 100%; }
.tabs [role="tab"] { flex: 1 1 0; justify-content: center; padding: 9px 12px; }
.design-controls { flex: 1 1 100%; }
.designs, .designs.all { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.howto { padding: 16px 18px; }
/* one column of short cards: the preview beside the text, the share code under both */
.design { display: grid; grid-template-columns: minmax(112px, 38%) minmax(0, 1fr); column-gap: 12px; padding: 10px 12px 12px; }
.design img { grid-row: 1 / span 4; align-self: start; border-radius: 10px; }
.design-body { display: contents; }
.design-body > * { grid-column: 2; }
.design-stats { margin-bottom: 0; }
.design-code { grid-column: 1 / -1; margin-top: 10px; }
}
/* A card links to its design's page: the title, and through it the whole card; the creator, the
like button and the share code stay above that link. */
.design { position: relative; }
.design-title a { color: inherit; text-decoration: none; }
.design-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.design-title a:hover, .design-title a:focus-visible { color: var(--orange); }
.design-by a, .design-stats .like-slot, .design-code { position: relative; z-index: 2; }
/* ---- a design's own page (designs/<id>.html, made by tools/build_designs.py) ---- */
.design-item { width: min(100%, 1100px); }
.design-item .kicker a { color: var(--orange); text-decoration: none; }
.design-item .kicker a:hover { color: var(--cream); text-decoration: underline; }
.design-item-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 36px; align-items: start; margin: 6px 0 32px; }
.design-item-pic {
margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 14px 36px rgba(11, 7, 5, .35);
background: repeating-conic-gradient(rgba(255, 255, 255, .04) 0 25%, transparent 0 50%) 0 0 / 16px 16px, var(--surface-2);
}
.design-item-pic img { display: block; width: 100%; height: auto; }
.design-nopic { display: grid; place-items: center; aspect-ratio: 9 / 5; color: var(--muted); font: 700 13px/1.2 var(--font-ui); letter-spacing: .16em; text-transform: uppercase; }
.design-item h1 { display: block; color: var(--cream); margin: 0 0 12px; font-size: clamp(30px, 4vw, 48px); overflow-wrap: anywhere; }
.design-item-car, .design-item-by { margin: 0 0 6px; color: var(--muted); font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.design-item-car b, .design-item-by b { color: var(--soft); }
.design-item-by a { color: var(--soft); font-weight: 700; text-decoration: none; }
.design-item-by a:hover { color: var(--orange); text-decoration: underline; }
.design-item .design-stats { font-size: 14.5px; margin: 16px 0 20px; }
.design-item .design-stats .like-slot { margin-left: 0; }
.design-item .design-code { max-width: 440px; margin: 0; }
.design-item .howto { width: min(100%, 660px); padding: 22px 24px; }
.design-item-more { margin: 22px 0 6px; }
.design-item > .aside { color: var(--muted); font-size: 14.5px; max-width: 660px; }
@media (max-width: 760px) {
.design-item-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-bottom: 24px; }
.design-item .howto { padding: 16px 18px; }
}
/* ---- Press kit and FAQ ---- */
.press-page { max-width: 1000px; }
.press-page .page-head .aside { max-width: none; }
.press-page .panel { margin: 0 0 20px; }