-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
1250 lines (1155 loc) · 85.7 KB
/
index.html
File metadata and controls
1250 lines (1155 loc) · 85.7 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.0, maximum-scale=1.0, user-scalable=no">
<title>LapSetup</title>
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
bg: '#09090b',
panel: 'rgba(24, 24, 27, 0.4)',
'panel-alt': 'rgba(39, 39, 42, 0.4)',
border: '#27272a',
accent: '#3b82f6',
zinc: {
950: '#09090b',
900: '#18181b',
800: '#27272a',
700: '#3f3f46',
600: '#52525b',
500: '#71717a',
}
}
}
}
}
</script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Roboto+Mono:wght@400;500;700&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="css/style.css">
<link rel="icon" type="image/x-icon" href="img/favicon.ico">
</head>
<body class="min-h-screen lg:h-screen flex flex-col overflow-y-auto lg:overflow-hidden bg-bg text-slate-100">
<div class="max-w-[1900px] w-full mx-auto flex-1 flex flex-col p-4 lg:p-6 lg:overflow-hidden">
<header
class="flex flex-col md:flex-row justify-between items-center gap-4 mb-4 pb-4 border-b border-white/5 flex-none z-[1000]">
<div class="flex items-center gap-4 min-w-0">
<img src="img/icon.png" alt="LapSetup" class="h-6 w-auto object-contain flex-shrink-0">
<div class="flex flex-col gap-0.5 min-w-0 hidden md:flex">
<p class="text-[8px] text-amber-500/60 font-bold uppercase tracking-widest leading-tight">
⚠ Simulation values are approximate — results may not reflect 100% in game behaviour.
</p>
<p class="text-[8px] text-slate-600 font-bold uppercase tracking-widest leading-tight">
Made by
<a href="https://github.com/Simplezes" target="_blank" rel="noopener noreferrer"
class="header-credit-link">Simplezes</a>
&
<a href="https://github.com/William19D" target="_blank" rel="noopener noreferrer"
class="header-credit-link">William19D</a>
</p>
</div>
</div>
<div
class="flex flex-wrap justify-center sm:flex-nowrap items-center w-full sm:w-auto bg-black/60 backdrop-blur-xl rounded-lg border border-white/10 p-1 shadow-[0_0_15px_rgba(0,0,0,0.5)] relative">
<div
class="absolute inset-0 bg-gradient-to-r from-blue-500/5 via-transparent to-blue-500/5 pointer-events-none rounded-lg">
</div>
<div class="relative group border-r border-white/10 pr-2 mr-2">
<button id="gameSelectorBtn"
class="flex items-center gap-2 px-3 py-1.5 hover:bg-white/5 rounded transition-all text-[10px] font-bold tracking-widest text-white relative z-10">
<span id="currentGameName">LE MANS ULTIMATE</span>
<svg class="w-2.5 h-2.5 opacity-40 group-hover:opacity-100 transition-opacity"
viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3">
<path d="m6 9 6 6 6-6" />
</svg>
</button>
<!-- Game Dropdown -->
<div id="gameDropdown"
class="hidden absolute top-full left-0 mt-3 w-48 bg-[#09090b]/95 backdrop-blur-xl border border-white/10 rounded shadow-2xl z-[2000] p-1 glass">
<button
class="w-full text-left px-3 py-2 text-[9px] font-bold tracking-widest text-blue-400 hover:bg-white/10 rounded transition-colors flex items-center justify-between">
LE MANS ULTIMATE
<div class="w-1.5 h-1.5 rounded-full bg-blue-500 shadow-[0_0_8px_rgba(59,130,246,0.5)]">
</div>
</button>
<button
class="w-full text-left px-3 py-2 text-[9px] font-bold tracking-widest text-slate-600 cursor-not-allowed flex flex-col gap-0.5 mt-0.5"
disabled>
<span>ASSETTO CORSA</span>
<span class="text-[6px] text-amber-500/40 uppercase">COMING SOON</span>
</button>
</div>
</div>
<div class="mode-toggle flex relative z-10 gap-1 pl-1">
<button id="modeBasic"
class="px-4 py-1.5 rounded text-[9px] font-black tracking-widest transition-all duration-300 text-slate-400 hover:text-white hover:bg-white/5 uppercase">Basic</button>
<button id="modeAdvanced"
class="px-4 py-1.5 rounded text-[9px] font-black tracking-widest transition-all duration-300 text-slate-400 hover:text-white hover:bg-white/5 uppercase">Advanced</button>
</div>
</div>
</header>
<div class="grid grid-cols-12 gap-6 flex-1 lg:min-h-0">
<aside class="col-span-12 lg:col-span-2 flex flex-col gap-4 lg:overflow-y-auto pr-2 custom-scrollbar">
<div class="smart-section group relative collapsed">
<div class="sidebar-section-header" onclick="this.parentElement.classList.toggle('collapsed')">
<span>MACHINE</span>
<svg class="chevron-icon" width="10" height="10" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="3">
<path d="m6 9 6 6 6-6" />
</svg>
</div>
<div class="section-content p-2">
<button id="openGarageBtn" class="track-card-compact w-full group">
<div class="track-card-accent-line"></div>
<div class="flex flex-col relative z-10 w-full pr-6">
<span id="currentCar"
class="font-bold tracking-widest text-[11px] text-white uppercase italic text-left truncate">BMW
M4 LMGT3</span>
<div class="flex items-center gap-2 mt-1">
<span
class="text-[7px] text-slate-500 font-black uppercase tracking-widest opacity-60">MACHINE</span>
<span id="currentCarClass"
class="text-[9px] text-blue-500/80 font-mono uppercase font-bold tracking-tighter">LMGT3</span>
</div>
</div>
<div
class="absolute right-4 top-1/2 -translate-y-1/2 opacity-20 group-hover:opacity-100 group-hover:text-blue-500 transition-all duration-300">
<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="3">
<path d="m6 9 6 6 6-6" />
</svg>
</div>
</button>
</div>
<div id="machineDropdown" class="dropdown-menu custom-scrollbar">
</div>
</div>
<div class="smart-section group relative collapsed">
<div class="sidebar-section-header" onclick="this.parentElement.classList.toggle('collapsed')">
<span>CIRCUIT</span>
<svg class="chevron-icon" width="10" height="10" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="3">
<path d="m6 9 6 6 6-6" />
</svg>
</div>
<div class="section-content p-2">
<button id="openTrackBtn" class="track-card-compact w-full group">
<div class="track-card-accent-line"></div>
<div class="flex flex-col relative z-10 w-full pr-6">
<span id="currentTrack"
class="font-bold tracking-widest text-[11px] text-white uppercase italic text-left truncate">CIRCUIT
DE LA SARTHE</span>
<div class="flex items-center gap-2 mt-1">
<span
class="text-[7px] text-slate-500 font-black uppercase tracking-widest opacity-60">CIRCUIT</span>
<span
class="location-subtext text-[9px] text-blue-500/80 font-mono uppercase font-bold tracking-tighter">FRANCE</span>
</div>
</div>
<div
class="absolute right-4 top-1/2 -translate-y-1/2 opacity-20 group-hover:opacity-100 group-hover:text-blue-500 transition-all duration-300">
<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="3">
<path d="m6 9 6 6 6-6" />
</svg>
</div>
</button>
</div>
<div id="trackDropdown" class="dropdown-menu custom-scrollbar">
</div>
</div>
<div class="smart-section group collapsed">
<div class="sidebar-section-header" onclick="this.parentElement.classList.toggle('collapsed')">
<span>AMBIENT</span>
<svg class="chevron-icon" width="10" height="10" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="3">
<path d="m6 9 6 6 6-6" />
</svg>
</div>
<div class="section-content p-3 space-y-4">
<div class="flex flex-col gap-2">
<div class="flex justify-between items-center">
<span class="text-[9px] font-bold text-slate-600 uppercase tracking-widest">TRACK
TEMP</span>
<span id="trackTempV" class="font-mono text-[11px] text-amber-500 font-bold">25°C</span>
</div>
<input type="range" id="trackTemp" min="5" max="60" step="1" value="25"
class="w-full h-1 bg-slate-900 rounded-none appearance-none cursor-pointer accent-amber-500">
<div class="grid grid-cols-3 gap-1" id="tempPresets">
<button
class="px-1 py-1 rounded-sm bg-blue-500/5 border border-blue-500/20 text-[8px] font-bold text-blue-400 hover:bg-blue-500/10 transition-colors"
data-temp="15">15°C</button>
<button
class="px-1 py-1 rounded-sm bg-white/5 border border-white/10 text-[8px] font-bold text-slate-500 hover:bg-white/10 transition-colors"
data-temp="30">30°C</button>
<button
class="px-1 py-1 rounded-sm bg-orange-500/5 border border-orange-500/20 text-[8px] font-bold text-orange-400 hover:bg-orange-500/10 transition-colors"
data-temp="45">45°C</button>
</div>
</div>
<div class="flex flex-col gap-2 pt-2 border-t border-white/5">
<span class="text-[9px] font-bold text-slate-600 uppercase tracking-widest">WEATHER</span>
<div class="grid grid-cols-2 gap-1" id="weatherChips">
<button
class="weather-chip px-2 py-1 rounded-sm border border-white/5 bg-panel text-[8px] font-bold text-slate-500 hover:bg-white/5 transition-all active"
data-value="clear">CLEAR</button>
<button
class="weather-chip px-2 py-1 rounded-sm border border-white/5 bg-panel text-[8px] font-bold text-slate-500 hover:bg-white/5 transition-all"
data-value="cloudy">CLOUDY</button>
<button
class="weather-chip px-2 py-1 rounded-sm border border-white/5 bg-panel text-[8px] font-bold text-slate-500 hover:bg-white/5 transition-all"
data-value="drizzle">DRIZZLE</button>
<button
class="weather-chip px-2 py-1 rounded-sm border border-white/5 bg-panel text-[8px] font-bold text-slate-500 hover:bg-white/5 transition-all"
data-value="rain">RAIN</button>
<button
class="weather-chip px-2 py-1 rounded-sm border border-white/5 bg-panel text-[8px] font-bold text-slate-500 hover:bg-white/5 transition-all col-span-2"
data-value="storm">STORM</button>
</div>
</div>
</div>
</div>
<div class="smart-section group collapsed">
<div class="sidebar-section-header" onclick="this.parentElement.classList.toggle('collapsed')">
<span>PRESETS</span>
<svg class="chevron-icon" width="10" height="10" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="3">
<path d="m6 9 6 6 6-6" />
</svg>
</div>
<div class="section-content">
<div id="presetContainer"
class="grid grid-cols-1 gap-[1px] max-h-[30vh] overflow-y-auto pr-1 custom-scrollbar px-2 pt-2">
</div>
<div class="flex gap-1 p-2 border-t border-white/5 mt-1">
<button id="saveSetupBtn"
class="flex-1 flex items-center justify-center gap-1.5 px-2 py-1.5 bg-green-500/10 border border-green-500/30 text-[9px] font-bold text-green-400 hover:bg-green-500/20 hover:text-green-300 transition-all rounded-sm">
<svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2.5">
<path d="M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z" />
<polyline points="17 21 17 13 7 13 7 21" />
<polyline points="7 3 7 8 15 8" />
</svg>
SAVE SETUP
</button>
<button id="deleteSetupBtn"
class="flex items-center justify-center px-2 py-1.5 bg-red-500/5 border border-red-500/20 text-[9px] font-bold text-red-500/50 hover:bg-red-500/15 hover:text-red-400 hover:border-red-500/40 transition-all rounded-sm"
title="Delete saved setup">
<svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2.5">
<polyline points="3 6 5 6 21 6" />
<path d="M19 6l-1 14H6L5 6" />
<path d="M10 11v6M14 11v6" />
<path d="M9 6l1-3h4l1 3" />
</svg>
</button>
</div>
</div>
</div>
<div class="smart-section group collapsed">
<div class="sidebar-section-header" onclick="this.parentElement.classList.toggle('collapsed')">
<span>FUEL CALCULATOR</span>
<svg class="chevron-icon" width="10" height="10" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="3">
<path d="m6 9 6 6 6-6" />
</svg>
</div>
<div class="section-content p-3 space-y-4">
<div class="flex gap-1 bg-slate-900/50 p-1 rounded-sm">
<button id="fuelModeTime" class="fuel-tab-btn active">TIME</button>
<button id="fuelModeLaps" class="fuel-tab-btn">LAPS</button>
</div>
<div class="space-y-3">
<div id="fuelTimeInputs" class="space-y-2 transition-all">
<div class="flex gap-2">
<div class="flex-1">
<label
class="text-[8px] text-slate-500 uppercase font-bold block mb-1">Hours</label>
<div class="spin-container w-full">
<button type="button" class="spin-btn step-down" tabindex="-1"><svg
width="10" height="10" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="2.5">
<line x1="5" y1="12" x2="19" y2="12"></line>
</svg></button>
<input type="number" id="fuelHours" value="1" min="0" class="spin-input">
<button type="button" class="spin-btn step-up" tabindex="-1"><svg width="10"
height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2.5">
<line x1="12" y1="5" x2="12" y2="19"></line>
<line x1="5" y1="12" x2="19" y2="12"></line>
</svg></button>
</div>
</div>
<div class="flex-1">
<label
class="text-[8px] text-slate-500 uppercase font-bold block mb-1">Minutes</label>
<div class="spin-container w-full">
<button type="button" class="spin-btn step-down" tabindex="-1"><svg
width="10" height="10" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="2.5">
<line x1="5" y1="12" x2="19" y2="12"></line>
</svg></button>
<input type="number" id="fuelMinutes" value="0" min="0" max="59"
class="spin-input">
<button type="button" class="spin-btn step-up" tabindex="-1"><svg width="10"
height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2.5">
<line x1="12" y1="5" x2="12" y2="19"></line>
<line x1="5" y1="12" x2="19" y2="12"></line>
</svg></button>
</div>
</div>
</div>
</div>
<div id="fuelLapsInput" class="hidden transition-all">
<label class="text-[8px] text-slate-500 uppercase font-bold block mb-1">Total
Laps</label>
<div class="spin-container w-full">
<button type="button" class="spin-btn step-down" tabindex="-1"><svg width="10"
height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2.5">
<line x1="5" y1="12" x2="19" y2="12"></line>
</svg></button>
<input type="number" id="fuelTotalLaps" value="50" min="1" class="spin-input">
<button type="button" class="spin-btn step-up" tabindex="-1"><svg width="10"
height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2.5">
<line x1="12" y1="5" x2="12" y2="19"></line>
<line x1="5" y1="12" x2="19" y2="12"></line>
</svg></button>
</div>
</div>
<div class="space-y-3">
<div id="fuelLapTimeLabel">
<label class="text-[8px] text-slate-500 uppercase font-bold block mb-1">Lap Time
(M:S.ms)</label>
<div class="flex gap-1 items-center">
<div class="spin-container w-16">
<button type="button" class="spin-btn step-down px-0 w-4" tabindex="-1"><svg
width="8" height="8" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="2.5">
<line x1="5" y1="12" x2="19" y2="12"></line>
</svg></button>
<input type="number" id="fuelLapMin" value="2" min="0" placeholder="M"
class="spin-input font-mono">
<button type="button" class="spin-btn step-up px-0 w-4" tabindex="-1"><svg
width="8" height="8" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="2.5">
<line x1="12" y1="5" x2="12" y2="19"></line>
<line x1="5" y1="12" x2="19" y2="12"></line>
</svg></button>
</div>
<span class="text-slate-600 font-bold">:</span>
<div class="spin-container w-16">
<button type="button" class="spin-btn step-down px-0 w-4" tabindex="-1"><svg
width="8" height="8" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="2.5">
<line x1="5" y1="12" x2="19" y2="12"></line>
</svg></button>
<input type="number" id="fuelLapSec" value="00" min="0" max="59"
placeholder="SS" class="spin-input font-mono">
<button type="button" class="spin-btn step-up px-0 w-4" tabindex="-1"><svg
width="8" height="8" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="2.5">
<line x1="12" y1="5" x2="12" y2="19"></line>
<line x1="5" y1="12" x2="19" y2="12"></line>
</svg></button>
</div>
<span class="text-slate-600 font-bold">.</span>
<div class="spin-container w-[72px]">
<button type="button" class="spin-btn step-down px-0 w-4" tabindex="-1"><svg
width="8" height="8" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="2.5">
<line x1="5" y1="12" x2="19" y2="12"></line>
</svg></button>
<input type="number" id="fuelLapMs" value="000" min="0" max="999"
placeholder="ms" class="spin-input font-mono" step="10">
<button type="button" class="spin-btn step-up px-0 w-4" tabindex="-1"><svg
width="8" height="8" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="2.5">
<line x1="12" y1="5" x2="12" y2="19"></line>
<line x1="5" y1="12" x2="19" y2="12"></line>
</svg></button>
</div>
</div>
</div>
<div class="w-full">
<label class="text-[8px] text-slate-500 uppercase font-bold block mb-1">Fuel /
Lap</label>
<div class="spin-container w-full">
<button type="button" class="spin-btn step-down" tabindex="-1"><svg width="10"
height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2.5">
<line x1="5" y1="12" x2="19" y2="12"></line>
</svg></button>
<input type="number" id="fuelPerLapInput" value="3.5" min="0.1" step="0.1"
class="spin-input">
<button type="button" class="spin-btn step-up" tabindex="-1"><svg width="10"
height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2.5">
<line x1="12" y1="5" x2="12" y2="19"></line>
<line x1="5" y1="12" x2="19" y2="12"></line>
</svg></button>
</div>
</div>
</div>
</div>
<div class="bg-slate-900/30 border border-white/5 rounded-sm p-2 space-y-2">
<div class="flex justify-between items-center">
<span class="text-[9px] text-slate-400 font-medium">Estimated Laps</span>
<span id="fuelResultLaps" class="text-[11px] text-white font-mono font-bold">0</span>
</div>
<div class="flex justify-between items-center text-blue-400">
<span class="text-[9px] font-medium">Req. Fuel</span>
<span id="fuelResultFuel" class="text-[11px] font-mono font-bold">0 L</span>
</div>
<div class="flex justify-between items-center text-amber-500 pt-1 border-t border-white/5">
<span class="text-[9px] font-bold">Safety Relief</span>
<span id="fuelResultSafety" class="text-[11px] font-mono font-bold">0 L</span>
</div>
</div>
</div>
</div>
</aside>
<main
class="col-span-12 lg:col-span-6 flex flex-col gap-4 lg:overflow-y-auto pr-2 overflow-x-hidden custom-scrollbar">
<div
class="p-4 border border-white/5 bg-panel flex flex-col items-center justify-center relative min-h-[350px] lg:min-h-[500px] flex-1">
<div
class="lg:absolute top-4 left-4 flex z-50 w-full lg:w-auto justify-center lg:justify-start mb-4 lg:mb-0 flex-none bg-black/40 backdrop-blur-md rounded-lg border border-white/10 p-1 shadow-lg">
<div class="flex gap-1">
<button id="viewRadar"
class="text-[9px] font-black px-4 py-1.5 rounded bg-blue-500/20 text-blue-400 hover:bg-blue-500/30 transition-all uppercase tracking-widest shadow-[0_0_10px_rgba(59,130,246,0.2)] border border-blue-500/30">Radar</button>
<button id="viewBars"
class="text-[9px] font-black text-slate-400 px-4 py-1.5 rounded border border-transparent hover:text-white hover:bg-white/5 transition-all uppercase tracking-widest">Bars</button>
</div>
</div>
<div id="radarView"
class="w-full flex-1 flex flex-col items-center justify-center lg:mt-12 xl:mt-0 transition-opacity duration-300 min-h-[250px]">
<svg viewBox="0 0 200 200" class="w-56 h-56 md:w-80 md:h-80 overflow-visible">
<polygon points="100,20 176.08,75.28 147.02,164.72 52.98,164.72 23.92,75.28" fill="none"
stroke="rgba(255,255,255,0.03)" stroke-width="0.5" />
<polygon points="100,60 138.04,87.64 123.51,132.36 76.49,132.36 61.96,87.64" fill="none"
stroke="rgba(255,255,255,0.03)" stroke-width="0.5" />
<line x1="100" y1="100" x2="100" y2="20" stroke="rgba(255,255,255,0.05)"
stroke-width="0.5" />
<line x1="100" y1="100" x2="176.08" y2="75.28" stroke="rgba(255,255,255,0.05)"
stroke-width="0.5" />
<line x1="100" y1="100" x2="147.02" y2="164.72" stroke="rgba(255,255,255,0.05)"
stroke-width="0.5" />
<line x1="100" y1="100" x2="52.98" y2="164.72" stroke="rgba(255,255,255,0.05)"
stroke-width="0.5" />
<line x1="100" y1="100" x2="23.92" y2="75.28" stroke="rgba(255,255,255,0.05)"
stroke-width="0.5" />
<polygon id="ghostPoly" points="" class="ghost-poly" fill="rgba(255,255,255,0.02)" />
<polygon id="spiderPoly" points="" class="spider-poly" fill="rgba(14, 165, 233, 0.1)"
stroke="var(--blue)" stroke-width="1.5" />
<text x="100" y="8" text-anchor="middle"
class="fill-slate-500 font-bold uppercase tracking-widest cursor-help hover:fill-blue-500 transition-colors graph-tooltip-trigger"
font-size="8" data-tooltip-id="graph_df">Downforce</text>
<text x="195" y="70" text-anchor="start"
class="fill-slate-500 font-bold uppercase tracking-widest cursor-help hover:fill-blue-500 transition-colors graph-tooltip-trigger"
font-size="8" data-tooltip-id="graph_grip">Grip</text>
<text x="165" y="178" text-anchor="start"
class="fill-slate-500 font-bold uppercase tracking-widest cursor-help hover:fill-blue-500 transition-colors graph-tooltip-trigger"
font-size="8" data-tooltip-id="graph_turnin">Turn-in</text>
<text x="35" y="178" text-anchor="end"
class="fill-slate-500 font-bold uppercase tracking-widest cursor-help hover:fill-blue-500 transition-colors graph-tooltip-trigger"
font-size="8" data-tooltip-id="graph_bumps">Bumps</text>
<text x="5" y="70" text-anchor="end"
class="fill-slate-500 font-bold uppercase tracking-widest cursor-help hover:fill-blue-500 transition-colors graph-tooltip-trigger"
font-size="8" data-tooltip-id="graph_ts">Top
Speed</text>
</svg>
</div>
<div id="barsView"
class="hidden w-full flex-1 flex-col justify-center px-8 sm:px-16 md:px-24 pt-10 pb-4 gap-3 sm:gap-5 transition-opacity duration-300">
<div class="space-y-1 w-full">
<div class="flex justify-between items-end"><span
class="text-[9px] text-slate-500 font-bold uppercase tracking-widest cursor-help hover:text-white transition-colors graph-tooltip-trigger"
data-tooltip-id="graph_df">Downforce</span><span id="barValDf"
class="text-[10px] text-blue-500 font-mono">0%</span>
</div>
<div class="h-1 w-full bg-slate-900 rounded-none overflow-hidden relative">
<div id="barActiveDf"
class="absolute top-0 left-0 h-full bg-blue-500 transition-all duration-300"
style="width:0%"></div>
<div id="barTargetDf" class="bar-target"></div>
</div>
</div>
<div class="space-y-1 w-full">
<div class="flex justify-between items-end"><span
class="text-[9px] text-slate-500 font-bold uppercase tracking-widest cursor-help hover:text-white transition-colors graph-tooltip-trigger"
data-tooltip-id="graph_grip">Grip</span><span id="barValGr"
class="text-[10px] text-blue-500 font-mono">0%</span>
</div>
<div class="h-1 w-full bg-slate-900 rounded-none overflow-hidden relative">
<div id="barActiveGr"
class="absolute top-0 left-0 h-full bg-blue-500 transition-all duration-300"
style="width:0%"></div>
<div id="barTargetGr" class="bar-target"></div>
</div>
</div>
<div class="space-y-1 w-full">
<div class="flex justify-between items-end"><span
class="text-[9px] text-slate-500 font-bold uppercase tracking-widest cursor-help hover:text-white transition-colors graph-tooltip-trigger"
data-tooltip-id="graph_turnin">Turn-in</span><span id="barValTu"
class="text-[10px] text-blue-500 font-mono">0%</span>
</div>
<div class="h-1 w-full bg-slate-900 rounded-none overflow-hidden relative">
<div id="barActiveTu"
class="absolute top-0 left-0 h-full bg-blue-500 transition-all duration-300"
style="width:0%"></div>
<div id="barTargetTu" class="bar-target"></div>
</div>
</div>
<div class="space-y-1 w-full">
<div class="flex justify-between items-end"><span
class="text-[9px] text-slate-500 font-bold uppercase tracking-widest cursor-help hover:text-white transition-colors graph-tooltip-trigger"
data-tooltip-id="graph_bumps">Bumps</span><span id="barValBu"
class="text-[10px] text-blue-500 font-mono">0%</span>
</div>
<div class="h-1 w-full bg-slate-900 rounded-none overflow-hidden relative">
<div id="barActiveBu"
class="absolute top-0 left-0 h-full bg-blue-500 transition-all duration-300"
style="width:0%"></div>
<div id="barTargetBu" class="bar-target"></div>
</div>
</div>
<div class="space-y-1 w-full">
<div class="flex justify-between items-end"><span
class="text-[9px] text-slate-500 font-bold uppercase tracking-widest cursor-help hover:text-white transition-colors graph-tooltip-trigger"
data-tooltip-id="graph_ts">Top
Speed</span><span id="barValTs"
class="text-[10px] text-blue-500 font-mono">0%</span>
</div>
<div class="h-1 w-full bg-slate-900 rounded-none overflow-hidden relative">
<div id="barActiveTs"
class="absolute top-0 left-0 h-full bg-blue-500 transition-all duration-300"
style="width:0%"></div>
<div id="barTargetTs" class="bar-target"></div>
</div>
</div>
</div>
<div
class="lg:absolute top-4 right-6 flex justify-center w-full lg:w-auto gap-4 lg:gap-3 z-40 mt-6 lg:mt-0 flex-none">
<div class="w-24 p-2 flex flex-col items-center">
<p class="text-[8px] text-slate-600 font-bold mb-2 uppercase tracking-widest">Tyre Thermal
</p>
<div class="grid grid-cols-2 gap-1 w-full" style="height:60px">
<div id="tyreFL" class="flex border border-white/5 overflow-hidden rounded-sm"
title="Front Left: Tyre Temperature">
<div id="heatFL" class="flex-1 transition-colors duration-500 min-h-[40px]"></div>
</div>
<div id="tyreFR" class="flex border border-white/5 overflow-hidden rounded-sm"
title="Front Right: Tyre Temperature">
<div id="heatFR" class="flex-1 transition-colors duration-500 min-h-[40px]"></div>
</div>
<div id="tyreRL" class="flex border border-white/5 overflow-hidden rounded-sm"
title="Rear Left: Tyre Temperature">
<div id="heatRL" class="flex-1 transition-colors duration-500 min-h-[40px]"></div>
</div>
<div id="tyreRR" class="flex border border-white/5 overflow-hidden rounded-sm"
title="Rear Right: Tyre Temperature">
<div id="heatRR" class="flex-1 transition-colors duration-500 min-h-[40px]"></div>
</div>
</div>
<div class="w-full mt-2">
<div class="h-1 w-full rounded-full overflow-hidden"
style="background: linear-gradient(to right, #3b82f6, #22c55e, #f59e0b, #ef4444)">
</div>
<div class="flex justify-between mt-1">
<span class="text-[7px] font-bold text-slate-600 uppercase">COLD</span>
<span class="text-[7px] font-bold text-slate-500 uppercase">IDEAL</span>
<span class="text-[7px] font-bold text-slate-600 uppercase">HOT</span>
</div>
</div>
</div>
<div class="w-24 p-2 flex flex-col items-center">
<p class="text-[8px] text-slate-600 font-bold mb-2 uppercase tracking-widest">Damper Grid
</p>
<div class="grid grid-cols-2 gap-1 w-full" style="height:60px">
<div id="dampFL" class="damper-cell border border-white/5" title="Front Left Damping">
</div>
<div id="dampFR" class="damper-cell border border-white/5" title="Front Right Damping">
</div>
<div id="dampRL" class="damper-cell border border-white/5" title="Rear Left Damping">
</div>
<div id="dampRR" class="damper-cell border border-white/5" title="Rear Right Damping">
</div>
</div>
<div class="w-full mt-2">
<div class="h-1 w-full rounded-full overflow-hidden"
style="background: linear-gradient(to right, #1e3a5f, #0ea5e9, #eab308)">
</div>
<div class="flex justify-between mt-1">
<span class="text-[7px] font-bold text-slate-600 uppercase">SOFT</span>
<span class="text-[7px] font-bold text-slate-500 uppercase">IDEAL</span>
<span class="text-[7px] font-bold text-slate-600 uppercase">STIFF</span>
</div>
</div>
</div>
</div>
<div class="lg:absolute bottom-6 w-full px-4 lg:px-12 mt-8 lg:mt-0 pb-2 lg:pb-0 flex-none">
<div class="flex justify-between items-center mb-1">
<span class="text-[9px] font-bold text-slate-600 uppercase tracking-widest">FRONT <span
id="fP" class="text-blue-500">50%</span></span>
<span class="text-[9px] font-bold text-slate-700 uppercase tracking-widest">Aero Rake /
CoP</span>
<span class="text-[9px] font-bold text-slate-600 uppercase tracking-widest">REAR <span
id="rP" class="text-blue-500">50%</span></span>
</div>
<div class="h-1 w-full bg-slate-900 relative">
<div id="cop" class="absolute top-0 left-1/2 -translate-x-1/2 w-4 h-full bg-blue-500"></div>
</div>
</div>
</div>
</main>
<aside
class="col-span-12 lg:col-span-4 flex flex-col gap-4 lg:overflow-y-auto pr-2 custom-scrollbar relative">
<div
class="sticky top-0 z-[100] bg-bg/95 backdrop-blur-md pb-3 pt-3 lg:pt-0 -mx-4 px-4 lg:mx-0 lg:px-0 flex flex-col gap-3 border-b border-white/5 flex-none mb-2">
<div class="flex gap-1 pt-1 flex-wrap">
<button
class="setup-tab-btn active px-3 py-1.5 text-[9px] font-bold tracking-widest uppercase border border-white/5 bg-panel hover:bg-white/5 transition-all"
data-target="tab-overview">OVERVIEW</button>
<button
class="setup-tab-btn px-3 py-1.5 text-[9px] font-bold tracking-widest uppercase border border-transparent text-slate-500 hover:text-white transition-all"
data-target="tab-wheels">WHEELS</button>
<button
class="setup-tab-btn px-3 py-1.5 text-[9px] font-bold tracking-widest uppercase border border-transparent text-slate-500 hover:text-white transition-all"
data-target="tab-suspension">SUSPENSION</button>
<button
class="setup-tab-btn px-3 py-1.5 text-[9px] font-bold tracking-widest uppercase border border-transparent text-slate-500 hover:text-white transition-all setting-advanced"
data-target="tab-dampers">DAMPERS</button>
<button
class="setup-tab-btn px-3 py-1.5 text-[9px] font-bold tracking-widest uppercase border border-transparent text-slate-500 hover:text-white transition-all"
data-target="tab-aero">AERO</button>
</div>
<div class="px-3 py-2 border border-white/5 bg-panel relative overflow-hidden group">
<div class="relative z-10 flex flex-col gap-2">
<div class="flex justify-between items-center">
<h3
class="text-[9px] font-bold text-slate-500 uppercase tracking-widest m-0 leading-none">
Steering Balance
</h3>
<div>
<span id="steerStatus"
class="text-[9px] text-green-500 font-bold border border-green-500/30 px-2 py-0.5 leading-none bg-green-500/10">BALANCED</span>
</div>
</div>
<div class="grid grid-cols-2 gap-2 mt-1 pt-2 border-t border-white/5">
<div class="flex flex-col">
<span
class="text-[7px] font-bold text-slate-600 uppercase tracking-widest leading-none mb-1 flex items-center gap-1">
Aero Shift
<button type="button" class="info-icon-btn" data-tooltip-id="bal_aero_shift">
<svg width="8" height="8" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="3" stroke-linecap="round"
stroke-linejoin="round">
<circle cx="12" cy="12" r="10"></circle>
<path d="M12 16v-4"></path>
<path d="M12 8h.01"></path>
</svg>
</button>
</span>
<span id="aeroBalanceTxt" class="text-[9px] font-bold text-slate-300">--% Fwd</span>
</div>
<div class="flex flex-col items-end">
<span
class="text-[7px] font-bold text-slate-600 uppercase tracking-widest leading-none mb-1 flex items-center gap-1 text-right justify-end">
<button type="button" class="info-icon-btn" data-tooltip-id="bal_low_speed">
<svg width="8" height="8" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="3" stroke-linecap="round"
stroke-linejoin="round">
<circle cx="12" cy="12" r="10"></circle>
<path d="M12 16v-4"></path>
<path d="M12 8h.01"></path>
</svg>
</button>
Low Speed
</span>
<span id="mechBalanceTxt" class="text-[9px] font-bold text-slate-300">--</span>
</div>
<div class="flex flex-col mt-2">
<span
class="text-[7px] font-bold text-slate-600 uppercase tracking-widest leading-none mb-1 flex items-center gap-1">
Dive (Braking)
<button type="button" class="info-icon-btn" data-tooltip-id="bal_dive">
<svg width="8" height="8" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="3" stroke-linecap="round"
stroke-linejoin="round">
<circle cx="12" cy="12" r="10"></circle>
<path d="M12 16v-4"></path>
<path d="M12 8h.01"></path>
</svg>
</button>
</span>
<span id="diveTxt" class="text-[9px] font-bold text-slate-300">--</span>
</div>
<div class="flex flex-col items-end mt-2">
<span
class="text-[7px] font-bold text-slate-600 uppercase tracking-widest leading-none mb-1 flex items-center gap-1 text-right justify-end">
<button type="button" class="info-icon-btn" data-tooltip-id="bal_squat">
<svg width="8" height="8" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="3" stroke-linecap="round"
stroke-linejoin="round">
<circle cx="12" cy="12" r="10"></circle>
<path d="M12 16v-4"></path>
<path d="M12 8h.01"></path>
</svg>
</button>
Squat (Accel)
</span>
<span id="squatTxt" class="text-[9px] font-bold text-slate-300">--</span>
</div>
</div>
</div>
</div>
</div>
<div id="tab-overview" class="setup-tab-content flex flex-col gap-2">
<div class="p-3 border border-white/5 bg-panel flex-1">
<h3 class="text-[9px] font-bold mb-3 text-slate-500 uppercase tracking-widest">Fix Protocol</h3>
<div class="space-y-1">
<div class="flex justify-between items-center py-1 border-b border-white/5">
<span class="text-[11px] text-slate-400">Understeer</span>
<span class="text-blue-500 font-bold text-[10px] uppercase font-mono">-Wing /
-F.Height</span>
</div>
<div class="flex justify-between items-center py-1 border-b border-white/5">
<span class="text-[11px] text-slate-400">Oversteer</span>
<span class="text-blue-500 font-bold text-[10px] uppercase font-mono">+Wing /
+R.Height</span>
</div>
<div class="flex justify-between items-center py-1 border-b border-white/5">
<span class="text-[11px] text-slate-400">Bumpy / Unstable</span>
<span class="text-blue-500 font-bold text-[10px] uppercase font-mono">-Packers /
-Springs</span>
</div>
</div>
<div id="trackAdvice"
class="mt-4 pt-3 border-t border-white/5 text-[9px] text-slate-500 italic leading-snug">
Select a track to see specific setup suggestions.
</div>
</div>
</div>
<div id="tab-wheels" class="setup-tab-content p-3 border border-white/5 bg-panel space-y-4 hidden">
<div class="flex justify-between items-center mb-1">
<h3 class="text-[9px] font-bold text-slate-500 uppercase tracking-widest">Wheels & Brakes</h3>
</div>
<div class="space-y-4">
<div class="space-y-1">
<span class="text-[9px] font-bold text-slate-600 uppercase tracking-widest">Compound</span>
<div class="grid grid-cols-2 gap-2">
<button
class="comp-btn px-3 py-1.5 text-[10px] font-bold border border-white/5 hover:bg-white/5 transition-all"
data-type="WET">WET</button>
<button
class="comp-btn active px-3 py-1.5 text-[10px] font-bold border border-blue-500/30 bg-blue-500/10 text-blue-400"
data-type="MEDIUM">MEDIUM</button>
</div>
</div>
<div class="space-y-3 relative p-2 border border-white/5 rounded-sm bg-panel-alt">
<div class="space-y-1 relative">
<div class="flex justify-between items-end">
<span class="text-[9px] font-bold text-slate-500 uppercase tracking-widest"
id="tp_fC_label">Front Pressure</span>
<span id="tp_fV" class="text-[10px] text-blue-500 font-mono">136kPa</span>
</div>
<input type="range" id="tpressure_f" min="136" max="210" step="1" value="136"
class="w-full h-1 bg-slate-900 rounded-none appearance-none cursor-pointer tire-slider">
</div>
<div
class="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 z-10 flex items-center justify-center pointer-events-none w-full">
<div class="h-px bg-white/10 w-full absolute top-1/2 -translate-y-1/2"></div>
<button id="linkTiresBtn"
class="pointer-events-auto w-6 h-6 rounded-full bg-slate-800 border border-slate-600 flex items-center justify-center hover:bg-slate-700 hover:border-blue-400 transition-all active shadow-lg z-20"
title="Link Pressures">
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24"
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round" class="text-blue-400 transition-colors link-icon">
<path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path>
<path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24"
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round"
class="text-slate-500 transition-colors hidden unlink-icon">
<line x1="8" y1="12" x2="16" y2="12"></line>
</svg>
</button>
</div>
<div class="space-y-1 relative">
<div class="flex justify-between items-end">
<span class="text-[9px] font-bold text-slate-500 uppercase tracking-widest"
id="tp_rC_label">Rear Pressure</span>
<span id="tp_rV" class="text-[10px] text-blue-500 font-mono">136kPa</span>
</div>
<input type="range" id="tpressure_r" min="136" max="210" step="1" value="136"
class="w-full h-1 bg-slate-900 rounded-none appearance-none cursor-pointer tire-slider">
</div>
</div>
<div class="space-y-1 relative">
<div class="flex justify-between items-end">
<span class="text-[9px] font-bold text-slate-500 uppercase tracking-widest"
id="fcC_label">Front Camber</span>
<span id="fcV" class="text-[10px] text-blue-500 font-mono">-2.30°</span>
</div>
<input type="range" id="fcam" min="-5.00" max="-1.00" step="0.10" value="-2.30"
class="w-full h-1 bg-slate-900 rounded-none appearance-none cursor-pointer">
</div>
<div class="space-y-1 relative">
<div class="flex justify-between items-end">
<span class="text-[9px] font-bold text-slate-500 uppercase tracking-widest"
id="rcC_label">Rear Camber</span>
<span id="rcV" class="text-[10px] text-blue-500 font-mono">-1.50°</span>
</div>
<input type="range" id="rcam" min="-4.00" max="0.00" step="0.10" value="-1.50"
class="w-full h-1 bg-slate-900 rounded-none appearance-none cursor-pointer">
</div>
<div class="space-y-1 setting-advanced relative">
<div class="flex justify-between items-end">
<span class="text-[9px] font-bold text-slate-500 uppercase tracking-widest"
id="fbdC_label">Front Brake Duct</span>
<span id="fbdV" class="text-[10px] text-blue-500 font-mono uppercase">Open</span>
</div>
<input type="range" id="fbd" min="0" max="10" step="1" value="0"
class="w-full h-1 bg-slate-900 rounded-none appearance-none cursor-pointer">
</div>
<div class="space-y-1 setting-advanced relative">
<div class="flex justify-between items-end">
<span class="text-[9px] font-bold text-slate-500 uppercase tracking-widest"
id="rbdC_label">Rear Brake Duct</span>
<span id="rbdV" class="text-[10px] text-blue-500 font-mono uppercase">Open</span>
</div>
<input type="range" id="rbd" min="0" max="10" step="1" value="0"
class="w-full h-1 bg-slate-900 rounded-none appearance-none cursor-pointer">
</div>
</div>
</div>
<div id="tab-suspension" class="setup-tab-content p-3 border border-white/5 bg-panel space-y-4 hidden">
<h3 class="text-[9px] font-bold text-slate-500 uppercase tracking-widest mb-1">Suspension</h3>
<div class="space-y-4">
<div class="axle-header pb-1 border-b border-white/5">
<span class="text-[8px] font-bold text-slate-600 uppercase tracking-widest">FRONT
AXLE</span>
</div>
<div class="space-y-4">
<div class="space-y-1 setting-advanced relative">
<div class="flex justify-between items-end">
<span class="text-[9px] font-bold text-slate-500 uppercase tracking-widest"
id="fsC_label">Springs</span>
<span id="fsV" class="text-[10px] text-blue-500 font-mono">2</span>
</div>
<input type="range" id="fs" min="1" max="6" step="1" value="2"
class="w-full h-1 bg-slate-900 rounded-none appearance-none cursor-pointer">
</div>
<div class="space-y-1 setting-advanced tender-setting hidden">
<div class="flex justify-between items-end">
<span class="text-[9px] font-bold text-slate-500 uppercase tracking-widest"
id="tender_fC_label">Tender Spring</span>
<span id="tender_fV" class="text-[10px] text-blue-500 font-mono">Standard</span>
</div>
<input type="range" id="tender_f" min="0" max="1" step="1" value="1"
class="w-full h-1 bg-slate-900 rounded-none appearance-none cursor-pointer">
</div>
<div class="space-y-1 setting-advanced relative">
<div class="flex justify-between items-end">
<span class="text-[9px] font-bold text-slate-500 uppercase tracking-widest"
id="fpkC_label">Packers</span>
<span id="fpkV" class="text-[10px] text-blue-500 font-mono">0.0cm</span>
</div>
<input type="range" id="fpk" min="0.0" max="4.0" step="0.1" value="0.0"
class="w-full h-1 bg-slate-900 rounded-none appearance-none cursor-pointer">
</div>
<div class="space-y-1 setting-advanced relative third-spring-setting hidden">
<div class="flex justify-between items-end">
<span
class="text-[9px] font-bold text-slate-500 uppercase tracking-widest cursor-help hover:text-white transition-colors"
id="third_FspringC_label">3rd Spring</span>
<span id="third_FspringV" class="text-[10px] text-blue-500 font-mono">N/A</span>
</div>
<input type="range" id="third_Fspring" min="0" max="4" step="1" value="0"
class="w-full h-1 bg-slate-900 rounded-none appearance-none cursor-pointer">
</div>
<div class="space-y-1 setting-advanced relative third-spring-setting hidden">
<div class="flex justify-between items-end">
<span
class="text-[9px] font-bold text-slate-500 uppercase tracking-widest cursor-help hover:text-white transition-colors"
title="Third Packers: Adjusts the limited travel of the third spring."
id="third_fpkC_label">3rd Packers</span>
<span id="third_fpkV" class="text-[10px] text-blue-500 font-mono">0.0cm</span>
</div>
<input type="range" id="third_fpk" min="0.0" max="2.0" step="0.1" value="0.0"
class="w-full h-1 bg-slate-900 rounded-none appearance-none cursor-pointer">
</div>
<div class="space-y-1 relative">
<div class="flex justify-between items-end">
<span class="text-[9px] font-bold text-slate-500 uppercase tracking-widest"
id="fhC_label">Ride Height</span>
<span id="fhV" class="text-[10px] text-blue-500 font-mono">5.3cm</span>
</div>
<input type="range" id="fh" min="5.0" max="9.0" step="0.1" value="5.3"
class="w-full h-1 bg-slate-900 rounded-none appearance-none cursor-pointer">
</div>
</div>
<div class="axle-header mt-2 pb-1 border-b border-white/5">
<span class="text-[8px] font-bold text-slate-600 uppercase tracking-widest">REAR AXLE</span>
</div>
<div class="space-y-4">
<div class="space-y-1 setting-advanced relative">
<div class="flex justify-between items-end">
<span class="text-[9px] font-bold text-slate-500 uppercase tracking-widest"
id="rsC_label">Springs</span>
<span id="rsV" class="text-[10px] text-blue-500 font-mono">2</span>
</div>
<input type="range" id="rs" min="1" max="6" step="1" value="2"
class="w-full h-1 bg-slate-900 rounded-none appearance-none cursor-pointer">
</div>
<div class="space-y-1 setting-advanced relative">
<div class="flex justify-between items-end">
<span class="text-[9px] font-bold text-slate-500 uppercase tracking-widest"
id="rpkC_label">Packers</span>
<span id="rpkV" class="text-[10px] text-blue-500 font-mono">0.0cm</span>
</div>
<input type="range" id="rpk" min="0.0" max="4.0" step="0.1" value="0.0"
class="w-full h-1 bg-slate-900 rounded-none appearance-none cursor-pointer">
</div>
<div class="space-y-1 setting-advanced relative third-spring-setting hidden">
<div class="flex justify-between items-end">
<span
class="text-[9px] font-bold text-slate-500 uppercase tracking-widest cursor-help hover:text-white transition-colors"
id="third_RspringC_label">3rd Spring</span>
<span id="third_RspringV" class="text-[10px] text-blue-500 font-mono">N/A</span>
</div>
<input type="range" id="third_Rspring" min="0" max="0" step="1" value="0"
class="w-full h-1 bg-slate-900 rounded-none appearance-none cursor-pointer">