Repository navigation
Expand file tree
/
Copy pathinput.css
More file actions
1193 lines (1035 loc) · 32 KB
/
Copy pathinput.css
File metadata and controls
1193 lines (1035 loc) · 32 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
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root, [data-theme="plex"], [data-theme="dynamic"] {
--color-bg: 13 17 23;
--color-card: 22 27 34;
--color-border: 48 54 61;
--color-text: 201 209 217;
--color-muted: 139 148 158;
--color-plex: 229 160 13;
--color-plex-hover: 240 168 16;
color-scheme: dark;
}
/* True light mode — bright surfaces, dark ink, readable accent */
[data-theme="light"] {
--color-bg: 244 246 249;
--color-card: 255 255 255;
--color-border: 206 214 224;
--color-text: 22 27 34;
--color-muted: 88 100 116;
--color-plex: 196 112 0;
--color-plex-hover: 168 90 0;
--light-ink: 22 27 34;
color-scheme: light;
}
[data-theme="slate"] {
--color-bg: 15 23 42;
--color-card: 30 41 59;
--color-border: 51 65 85;
--color-text: 241 245 249;
--color-muted: 148 163 184;
--color-plex: 56 189 248;
--color-plex-hover: 14 165 233;
}
[data-theme="nordic"] {
--color-bg: 7 12 24;
--color-card: 14 22 40;
--color-border: 35 54 92;
--color-text: 235 245 255;
--color-muted: 145 170 200;
--color-plex: 0 164 220;
--color-plex-hover: 56 189 248;
}
[data-theme="jellyfin"] {
--color-bg: 11 15 25;
--color-card: 20 27 45;
--color-border: 37 47 70;
--color-text: 229 231 235;
--color-muted: 156 163 175;
--color-plex: 129 140 248;
--color-plex-hover: 99 102 241;
}
[data-theme="emby"] {
--color-bg: 8 18 16;
--color-card: 15 29 25;
--color-border: 36 68 56;
--color-text: 232 244 238;
--color-muted: 145 170 160;
--color-plex: 82 181 75;
--color-plex-hover: 107 211 98;
}
[data-theme="emerald"] {
--color-bg: 10 15 12;
--color-card: 18 26 22;
--color-border: 32 46 38;
--color-text: 230 240 235;
--color-muted: 150 170 160;
--color-plex: 16 185 129;
--color-plex-hover: 52 211 153;
}
[data-theme="midnight"] {
--color-bg: 5 5 5;
--color-card: 15 15 15;
--color-border: 35 35 35;
--color-text: 245 245 245;
--color-muted: 140 140 140;
--color-plex: 6 182 212;
--color-plex-hover: 34 211 238;
}
[data-theme="crimson"] {
--color-bg: 15 5 5;
--color-card: 25 10 10;
--color-border: 45 20 20;
--color-text: 245 235 235;
--color-muted: 170 140 140;
--color-plex: 220 38 38;
--color-plex-hover: 248 113 113;
}
[data-theme="amethyst"] {
--color-bg: 13 8 20;
--color-card: 24 16 36;
--color-border: 44 32 64;
--color-text: 242 238 248;
--color-muted: 168 152 192;
--color-plex: 168 85 247;
--color-plex-hover: 192 132 252;
}
[data-theme="sunset"] {
--color-bg: 20 10 5;
--color-card: 32 16 10;
--color-border: 58 32 20;
--color-text: 250 240 235;
--color-muted: 180 150 140;
--color-plex: 249 115 22;
--color-plex-hover: 251 146 60;
}
[data-theme="ocean"] {
--color-bg: 5 18 24;
--color-card: 10 32 42;
--color-border: 24 60 74;
--color-text: 226 244 248;
--color-muted: 130 170 180;
--color-plex: 20 184 166;
--color-plex-hover: 45 212 191;
}
[data-theme="rose"] {
--color-bg: 22 8 16;
--color-card: 34 14 25;
--color-border: 64 30 48;
--color-text: 252 238 244;
--color-muted: 190 145 165;
--color-plex: 244 114 182;
--color-plex-hover: 251 160 211;
}
[data-theme="royal"] {
--color-bg: 8 11 28;
--color-card: 16 22 48;
--color-border: 35 44 86;
--color-text: 235 240 255;
--color-muted: 145 155 195;
--color-plex: 96 165 250;
--color-plex-hover: 147 197 253;
}
[data-theme="graphite"] {
--color-bg: 12 12 13;
--color-card: 24 24 27;
--color-border: 55 55 60;
--color-text: 244 244 245;
--color-muted: 161 161 170;
--color-plex: 212 212 216;
--color-plex-hover: 244 244 245;
}
[data-theme="cyberlime"] {
--color-bg: 8 12 8;
--color-card: 16 24 15;
--color-border: 36 54 32;
--color-text: 238 250 230;
--color-muted: 150 175 140;
--color-plex: 163 230 53;
--color-plex-hover: 190 242 100;
}
[data-theme="aurora"] {
--color-bg: 8 14 18;
--color-card: 16 26 32;
--color-border: 38 58 68;
--color-text: 235 248 246;
--color-muted: 145 174 174;
--color-plex: 45 212 191;
--color-plex-hover: 125 211 252;
}
body {
@apply bg-background text-text font-sans antialiased transition-colors duration-200;
}
input[type="date"], input[type="time"], input[type="datetime-local"], input[type="month"] {
color-scheme: dark;
}
[data-theme="light"] input[type="date"],
[data-theme="light"] input[type="time"],
[data-theme="light"] input[type="datetime-local"],
[data-theme="light"] input[type="month"] {
color-scheme: light;
}
}
/*
* True light theme: dark-theme UIs use translucent white fills/borders.
* Remap those to translucent ink so panels stay readable on bright surfaces.
* Do NOT remap text-white — often used on photo/hero overlays.
*/
html[data-theme="light"] .bg-white\/\[0\.02\],
html[data-theme="light"] .bg-white\/\[0\.03\],
html[data-theme="light"] .bg-white\/\[0\.04\],
html[data-theme="light"] .bg-white\/\[0\.05\],
html[data-theme="light"] .bg-white\/\[0\.06\],
html[data-theme="light"] .bg-white\/\[0\.07\],
html[data-theme="light"] .bg-white\/5,
html[data-theme="light"] .bg-white\/10,
html[data-theme="light"] .bg-white\/15,
html[data-theme="light"] .bg-white\/20 {
background-color: rgb(var(--light-ink) / 0.05) !important;
}
html[data-theme="light"] .bg-black\/20,
html[data-theme="light"] .bg-black\/30,
html[data-theme="light"] .bg-black\/40,
html[data-theme="light"] .bg-black\/50 {
background-color: rgb(var(--light-ink) / 0.06) !important;
}
html[data-theme="light"] .hover\:bg-white\/5:hover,
html[data-theme="light"] .hover\:bg-white\/10:hover,
html[data-theme="light"] .hover\:bg-white\/\[0\.02\]:hover,
html[data-theme="light"] .hover\:bg-white\/\[0\.04\]:hover,
html[data-theme="light"] .hover\:bg-white\/\[0\.05\]:hover,
html[data-theme="light"] .hover\:bg-white\/\[0\.06\]:hover,
html[data-theme="light"] .hover\:bg-white\/\[0\.07\]:hover {
background-color: rgb(var(--light-ink) / 0.08) !important;
}
html[data-theme="light"] .border-white\/5,
html[data-theme="light"] .border-white\/10,
html[data-theme="light"] .border-white\/15,
html[data-theme="light"] .border-white\/20,
html[data-theme="light"] .border-white\/30 {
border-color: rgb(var(--light-ink) / 0.12) !important;
}
html[data-theme="light"] .ring-white\/10,
html[data-theme="light"] .ring-white\/\[0\.04\] {
--tw-ring-color: rgb(var(--light-ink) / 0.12) !important;
}
html[data-theme="light"] .divide-white\/5 > :not([hidden]) ~ :not([hidden]),
html[data-theme="light"] .divide-white\/10 > :not([hidden]) ~ :not([hidden]) {
border-color: rgb(var(--light-ink) / 0.1) !important;
}
html[data-theme="light"] .glass-card,
html[data-theme="light"] .glass-card-sm,
html[data-theme="light"] .glass-card-lg,
html[data-theme="light"] .section-card,
html[data-theme="light"] .nav-shell,
html[data-theme="light"] .btn-primary,
html[data-theme="light"] .btn-primary:hover,
html[data-theme="light"] .btn-secondary {
box-shadow: none !important;
}
html[data-theme="light"] .glass-card,
html[data-theme="light"] .glass-card-sm,
html[data-theme="light"] .glass-card-lg,
html[data-theme="light"] .section-card {
border-color: rgb(var(--light-ink) / 0.14);
}
html[data-theme="light"] .btn-secondary {
border-color: rgb(var(--light-ink) / 0.14);
background-color: rgb(var(--light-ink) / 0.04);
}
html[data-theme="light"] .input-premium {
border-color: rgb(var(--light-ink) / 0.14);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
/*
* Light mode polish:
* 1) Kill drop shadows site-wide (they look muddy on bright surfaces).
* 2) Remap hard-coded white text to ink (dark UIs assumed dark backgrounds).
* 3) Keep white text on dark/colored badges & media overlays.
* 4) Give posters a clear edge when art has white backgrounds.
*/
html[data-theme="light"] .shadow,
html[data-theme="light"] .shadow-sm,
html[data-theme="light"] .shadow-md,
html[data-theme="light"] .shadow-lg,
html[data-theme="light"] .shadow-xl,
html[data-theme="light"] .shadow-2xl,
html[data-theme="light"] .shadow-inner,
html[data-theme="light"] .hover\:shadow-md:hover,
html[data-theme="light"] .hover\:shadow-lg:hover,
html[data-theme="light"] .hover\:shadow-xl:hover,
html[data-theme="light"] .hover\:shadow-2xl:hover,
html[data-theme="light"] .group-hover\:shadow-xl,
html[data-theme="light"] .group:hover .group-hover\:shadow-xl,
html[data-theme="light"] [class*="shadow-\["],
html[data-theme="light"] [class*="shadow-plex"],
html[data-theme="light"] [class*="shadow-lg"],
html[data-theme="light"] [class*="shadow-xl"],
html[data-theme="light"] [class*="shadow-2xl"],
html[data-theme="light"] [class*="shadow-md"],
html[data-theme="light"] [class*="shadow-sm"] {
--tw-shadow: 0 0 #0000 !important;
--tw-shadow-colored: 0 0 #0000 !important;
box-shadow: none !important;
}
html[data-theme="light"] .drop-shadow,
html[data-theme="light"] .drop-shadow-sm,
html[data-theme="light"] .drop-shadow-md,
html[data-theme="light"] .drop-shadow-lg,
html[data-theme="light"] .drop-shadow-xl,
html[data-theme="light"] [class*="drop-shadow-\["] {
filter: none !important;
}
html[data-theme="light"] .text-white {
color: rgb(var(--color-text)) !important;
}
html[data-theme="light"] .text-white\/95,
html[data-theme="light"] .text-white\/90,
html[data-theme="light"] .text-white\/85,
html[data-theme="light"] .text-white\/80,
html[data-theme="light"] .text-white\/70,
html[data-theme="light"] .text-white\/65,
html[data-theme="light"] .text-white\/60,
html[data-theme="light"] .text-white\/55,
html[data-theme="light"] .text-white\/50,
html[data-theme="light"] .text-white\/45,
html[data-theme="light"] .text-white\/40,
html[data-theme="light"] .text-white\/35,
html[data-theme="light"] .text-white\/30,
html[data-theme="light"] .hover\:text-white:hover {
color: rgb(var(--color-muted)) !important;
}
/* Restore white text on dark/colored chips, badges, and media overlays */
html[data-theme="light"] :is(
.bg-plex,
.bg-plex\/90,
.bg-black,
.bg-black\/50,
.bg-black\/70,
.bg-black\/80,
.bg-black\/85,
.bg-black\/90,
.bg-black\/95,
.bg-zinc-700\/95,
.bg-indigo-500\/90,
.bg-emerald-500\/90,
.bg-green-500\/90,
.bg-blue-500\/90,
.bg-amber-500\/90,
.bg-red-500\/90,
.bg-red-500\/80,
.bg-red-600,
.bg-red-700
) :is(.text-white, .text-white\/95, .text-white\/90, .text-white\/85, .text-white\/80) {
color: #fff !important;
}
html[data-theme="light"] .bg-plex.text-white,
html[data-theme="light"] .bg-plex .text-white {
color: #fff !important;
}
/* Keep white copy on media heroes / dark photo overlays */
html[data-theme="light"] .light-on-media,
html[data-theme="light"] .light-on-media :is(
.text-white,
.text-white\/95,
.text-white\/90,
.text-white\/85,
.text-white\/82,
.text-white\/80,
.text-white\/75,
.text-white\/70,
.text-white\/65,
.text-white\/60,
.text-white\/55,
.text-white\/50,
.text-white\/45,
.text-white\/40,
.text-white\/35,
.text-white\/30
) {
color: #fff !important;
}
html[data-theme="light"] .bg-black\/45 ~ .text-white {
color: #fff !important;
}
html[data-theme="light"] .text-gray-200,
html[data-theme="light"] .text-gray-300,
html[data-theme="light"] .text-gray-400 {
color: rgb(var(--color-muted)) !important;
}
/* Poster / media art: clear edge without relying on shadows */
html[data-theme="light"] .aspect-\[2\/3\],
html[data-theme="light"] .aspect-square {
box-shadow: none !important;
}
html[data-theme="light"] .aspect-\[2\/3\].overflow-hidden,
html[data-theme="light"] .aspect-square.overflow-hidden,
html[data-theme="light"] .aspect-\[2\/3\].rounded-lg,
html[data-theme="light"] .aspect-\[2\/3\].rounded-xl,
html[data-theme="light"] .aspect-\[2\/3\].rounded-2xl,
html[data-theme="light"] img.object-cover.rounded-lg,
html[data-theme="light"] img.object-cover.rounded-xl,
html[data-theme="light"] img.object-cover.rounded-2xl {
outline: 1px solid rgb(var(--light-ink) / 0.12);
outline-offset: -1px;
}
/* Discover hero: keep subtitle readable over light backdrops */
html[data-theme="light"] .discovery-theme .from-background\/85 {
--tw-gradient-from: rgb(var(--color-bg) / 0.92) var(--tw-gradient-from-position);
}
/*
* Personal Wrap-Up cards: dark photo + black scrim + white type works in dark themes,
* but light mode remaps white→ink and makes the muddy dark tiles look broken.
* Use a soft light surface with faint art instead.
*/
html[data-theme="light"] .wrap-up-card {
background-color: rgb(var(--color-card));
border-color: rgb(var(--light-ink) / 0.14) !important;
box-shadow: none !important;
}
html[data-theme="light"] .wrap-up-card .wrap-up-card-bg {
opacity: 0.14 !important;
filter: saturate(0.85) brightness(1.15);
}
html[data-theme="light"] .wrap-up-card .wrap-up-card-scrim {
background: linear-gradient(
160deg,
rgb(var(--color-card) / 0.92) 0%,
rgb(var(--color-bg) / 0.88) 100%
) !important;
}
html[data-theme="light"] .wrap-up-card .wrap-up-card-label {
color: rgb(var(--color-muted)) !important;
}
html[data-theme="light"] .wrap-up-card .wrap-up-card-value,
html[data-theme="light"] .wrap-up-card .wrap-up-card-value .text-white {
color: rgb(var(--color-text)) !important;
}
html[data-theme="light"] .wrap-up-card .wrap-up-card-sub:not(.text-plex) {
color: rgb(var(--color-muted)) !important;
}
html[data-theme="light"] .wrap-up-card .text-plex {
color: rgb(var(--color-plex)) !important;
}
/* Home hero banner: keep greeting readable over bright slideshow art */
html[data-theme="light"] .home-hero-banner {
box-shadow: none !important;
}
html[data-theme="light"] .home-hero-banner .home-hero-scrim {
background: linear-gradient(
105deg,
rgb(var(--color-bg) / 0.92) 0%,
rgb(var(--color-bg) / 0.72) 42%,
rgb(var(--color-bg) / 0.2) 72%,
transparent 100%
) !important;
}
/* Studios / Networks: white duotone logos disappear on light cards */
html[data-theme="light"] .company-card {
background-color: rgb(var(--color-card));
border-color: rgb(var(--light-ink) / 0.16);
box-shadow: none !important;
}
html[data-theme="light"] .company-card .company-duotone-logo {
/* Fallback if a cached light duotone image is still shown */
filter: none;
}
/* Media details: only in light mode, put overview/facts on an opaque panel
* so dark ink stays readable over leftover hero art. Dark themes stay seamless. */
html[data-theme="light"] .media-details-panel {
background-color: rgb(var(--color-card)) !important;
border: 1px solid rgb(var(--light-ink) / 0.14);
border-radius: 1rem;
padding: 1rem 1.25rem;
box-shadow: none !important;
}
/* Light mode: keep cinematic image but use darker left/bottom washes so white
* hero titles stay readable (card vars are white in light theme). */
html[data-theme="light"] .media-details-hero-scrim-mobile {
background: linear-gradient(
to bottom,
rgb(0 0 0 / 0.45) 0%,
rgb(0 0 0 / 0.25) 45%,
rgb(var(--color-card) / 0.88) 78%,
rgb(var(--color-card)) 100%
) !important;
}
html[data-theme="light"] .media-details-hero-scrim-bottom {
background: linear-gradient(
to top,
rgb(var(--color-card)) 0%,
rgb(var(--color-card) / 0.92) 28%,
rgb(0 0 0 / 0.35) 55%,
transparent 100%
) !important;
}
html[data-theme="light"] .media-details-hero-scrim-left {
background: linear-gradient(
to right,
rgb(0 0 0 / 0.55) 0%,
rgb(0 0 0 / 0.28) 32%,
transparent 78%
) !important;
}
/* Custom Scrollbars */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
@apply bg-background;
}
::-webkit-scrollbar-thumb {
@apply bg-border rounded;
}
::-webkit-scrollbar-thumb:hover {
@apply bg-plex;
}
/* Thin custom scrollbar for modals / panels */
.custom-scrollbar::-webkit-scrollbar {
width: 5px;
height: 5px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: rgb(var(--color-border));
border-radius: 999px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
background: rgb(var(--color-plex) / 0.7);
}
.custom-scrollbar {
scrollbar-width: thin;
scrollbar-color: rgb(var(--color-border)) transparent;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
@keyframes scrollVertical {
0% { transform: translateY(0); }
100% { transform: translateY(-50%); }
}
@keyframes fade-in {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes slide-up {
from { opacity: 0; transform: translateY(12px); }
to { opacity: 1; transform: translateY(0); }
}
/* Discover: content reveal after skeleton / filter changes */
@keyframes discover-enter {
from { opacity: 0; transform: translateY(12px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes discover-poster-in {
from { opacity: 0; transform: translateY(14px) scale(0.96); }
to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes discover-skeleton-pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.72; }
}
.hide-scrollbar::-webkit-scrollbar {
display: none;
}
.hide-scrollbar {
-ms-overflow-style: none;
scrollbar-width: none;
}
@layer components {
/* —— Cards —— */
.glass-card {
@apply rounded-2xl border border-white/10 bg-card/70 backdrop-blur-xl;
box-shadow: 0 16px 48px -12px rgba(0, 0, 0, 0.45);
}
.glass-card-sm {
@apply rounded-xl border border-white/10 bg-card/60 backdrop-blur-lg;
box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.4);
}
.glass-card-lg {
@apply rounded-3xl border border-white/10 bg-card/75 backdrop-blur-2xl;
box-shadow: 0 32px 100px -16px rgba(0, 0, 0, 0.65);
}
.section-card {
@apply rounded-2xl border border-white/10 bg-gradient-to-br from-white/[0.05] to-transparent;
}
/* —— Buttons —— */
.btn-primary {
@apply inline-flex items-center justify-center gap-2 px-6 py-3 rounded-xl font-bold text-sm;
@apply bg-gradient-to-r from-plex to-plex-hover text-background;
@apply hover:brightness-110 active:scale-[0.98] transition-all;
@apply disabled:opacity-50 disabled:pointer-events-none;
box-shadow: 0 8px 28px rgb(var(--color-plex) / 0.35);
}
.btn-primary-lg {
@apply inline-flex items-center justify-center gap-2 w-full px-8 py-4 rounded-xl font-bold text-base;
@apply bg-gradient-to-r from-plex to-plex-hover text-background;
@apply hover:brightness-110 active:scale-[0.98] transition-all;
@apply disabled:opacity-50 disabled:pointer-events-none;
box-shadow: 0 8px 28px rgb(var(--color-plex) / 0.35);
}
.btn-secondary {
@apply inline-flex items-center justify-center gap-2 px-6 py-3 rounded-xl font-bold text-sm;
@apply border border-white/10 bg-white/[0.04] text-text;
@apply hover:bg-white/10 hover:border-white/20 active:scale-[0.98] transition-all;
@apply disabled:opacity-50 disabled:pointer-events-none;
}
/* —— Forms —— */
.input-premium {
@apply w-full px-4 py-3.5 rounded-xl bg-background/70 border border-white/10 text-text;
@apply placeholder:text-muted/40 focus:border-plex/50 focus:ring-2 focus:ring-plex/15 outline-none transition-all;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.label-premium {
@apply text-[11px] font-bold text-muted uppercase tracking-[0.14em];
}
.badge-plex {
@apply inline-flex items-center gap-2 px-3 py-1 rounded-full bg-plex/10 border border-plex/25 text-plex;
@apply text-[11px] font-bold uppercase tracking-widest;
}
/* —— Layout —— */
.page-header {
@apply hidden md:flex items-center justify-between w-full mb-6 mt-2 md:mt-0;
}
.page-title {
@apply text-xl md:text-3xl font-black tracking-tight text-transparent bg-clip-text bg-gradient-to-r from-plex to-plex-hover;
}
.nav-item-active {
@apply bg-plex/15 text-plex;
box-shadow: 0 0 15px rgb(var(--color-plex) / 0.1);
}
.nav-shell {
@apply bg-card/80 backdrop-blur-2xl border-white/10;
}
.modal-glass {
@apply glass-card-lg p-6 max-w-sm w-full;
}
.animate-fade-in {
animation: fade-in 0.2s ease-out;
}
.animate-slide-up {
animation: slide-up 0.25s ease-out;
}
.settings-panel {
@apply glass-card p-5 sm:p-6 md:p-8 lg:p-10 w-full min-w-0;
}
.settings-panel > label:not([class]),
.settings-panel .mb-4 > label:first-child {
@apply block text-sm font-semibold text-text/90 mb-2;
}
.settings-panel .mb-4 {
margin-bottom: 1.5rem;
}
.settings-panel .mb-4:last-child,
.settings-panel .mb-8:last-child {
margin-bottom: 0;
}
.settings-panel h3 {
@apply pb-3 border-border/60;
margin-bottom: 1.5rem;
}
.settings-panel .integration-heading-title {
margin-bottom: 0;
padding-bottom: 0;
border-bottom-width: 0;
}
/* Discover: container on parent — grids query content width (sidebar-aware) */
.discover-layout-container {
container-type: inline-size;
width: 100%;
}
.discover-poster-grid {
display: grid;
width: 100%;
padding-bottom: 1rem;
gap: 0.75rem;
grid-template-columns: repeat(3, minmax(0, 1fr));
}
@container (min-width: 24rem) {
.discover-poster-grid {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
}
@container (min-width: 30rem) {
.discover-poster-grid {
grid-template-columns: repeat(5, minmax(0, 1fr));
}
}
@container (min-width: 48rem) {
.discover-poster-grid {
grid-template-columns: repeat(8, minmax(0, 1fr));
}
}
@container (min-width: 56rem) {
.discover-poster-grid {
grid-template-columns: repeat(10, minmax(0, 1fr));
}
}
.upgrader-poster-grid {
display: grid;
width: 100%;
padding-bottom: 1rem;
gap: 0.5rem;
}
.upgrader-poster-grid--small {
gap: 0.375rem;
}
.upgrader-poster-grid--medium {
gap: 0.5rem;
}
.upgrader-poster-grid--large {
gap: 0.625rem;
}
.upgrader-poster-grid--xlarge {
gap: 0.75rem;
}
.upgrader-poster-grid--small .upgrader-card-title {
font-size: 0.625rem;
line-height: 1.15;
}
.upgrader-poster-grid--small .upgrader-card-meta,
.upgrader-poster-grid--small .upgrader-card-actions {
font-size: 0.5625rem;
}
.upgrader-poster-grid--small .upgrader-card-badge {
font-size: 0.5rem;
padding: 0.125rem 0.375rem;
}
.upgrader-poster-grid--medium .upgrader-card-title {
font-size: 0.6875rem;
}
.upgrader-poster-grid--medium .upgrader-card-meta,
.upgrader-poster-grid--medium .upgrader-card-actions {
font-size: 0.625rem;
}
.discover-activity-grid {
display: grid;
width: 100%;
gap: 0.75rem;
grid-template-columns: minmax(0, 1fr);
}
@container (min-width: 40rem) {
.discover-activity-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 1.5rem;
}
}
@container (min-width: 64rem) {
.discover-activity-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
}
@container (min-width: 80rem) {
.discover-activity-grid.discover-activity-grid--quad {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
}
}
@keyframes rank-up {
0% { opacity: 0; transform: translateY(10px); }
100% { opacity: 1; transform: translateY(0); }
}
@keyframes rank-down {
0% { opacity: 0; transform: translateY(-10px); }
100% { opacity: 1; transform: translateY(0); }
}
@keyframes crown-pulse {
0%, 100% { opacity: 1; filter: drop-shadow(0 0 8px rgba(234, 179, 8, 0.6)); }
50% { opacity: 0.8; filter: drop-shadow(0 0 2px rgba(234, 179, 8, 0.3)); }
}
@keyframes bar-grow {
from { width: 0; }
}
.hide-scrollbar {
-ms-overflow-style: none;
scrollbar-width: none;
}
@layer components {
/* —— Cards —— */
.glass-card {
@apply rounded-2xl border border-white/10 bg-card/70 backdrop-blur-xl;
box-shadow: 0 16px 48px -12px rgba(0, 0, 0, 0.45);
}
.glass-card-sm {
@apply rounded-xl border border-white/10 bg-card/60 backdrop-blur-lg;
box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.4);
}
.glass-card-lg {
@apply rounded-3xl border border-white/10 bg-card/75 backdrop-blur-2xl;
box-shadow: 0 32px 100px -16px rgba(0, 0, 0, 0.65);
}
.section-card {
@apply rounded-2xl border border-white/10 bg-gradient-to-br from-white/[0.05] to-transparent;
}
/* —— Buttons —— */
.btn-primary {
@apply inline-flex items-center justify-center gap-2 px-6 py-3 rounded-xl font-bold text-sm;
@apply bg-gradient-to-r from-plex to-plex-hover text-background;
@apply hover:brightness-110 active:scale-[0.98] transition-all;
@apply disabled:opacity-50 disabled:pointer-events-none;
box-shadow: 0 8px 28px rgb(var(--color-plex) / 0.35);
}
.btn-primary-lg {
@apply inline-flex items-center justify-center gap-2 w-full px-8 py-4 rounded-xl font-bold text-base;
@apply bg-gradient-to-r from-plex to-plex-hover text-background;
@apply hover:brightness-110 active:scale-[0.98] transition-all;
@apply disabled:opacity-50 disabled:pointer-events-none;
box-shadow: 0 8px 28px rgb(var(--color-plex) / 0.35);
}
.btn-secondary {
@apply inline-flex items-center justify-center gap-2 px-6 py-3 rounded-xl font-bold text-sm;
@apply border border-white/10 bg-white/[0.04] text-text;
@apply hover:bg-white/10 hover:border-white/20 active:scale-[0.98] transition-all;
@apply disabled:opacity-50 disabled:pointer-events-none;
}
/* —— Forms —— */
.input-premium {
@apply w-full px-4 py-3.5 rounded-xl bg-background/70 border border-white/10 text-text;
@apply placeholder:text-muted/40 focus:border-plex/50 focus:ring-2 focus:ring-plex/15 outline-none transition-all;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.label-premium {
@apply text-[11px] font-bold text-muted uppercase tracking-[0.14em];
}
.badge-plex {
@apply inline-flex items-center gap-2 px-3 py-1 rounded-full bg-plex/10 border border-plex/25 text-plex;
@apply text-[11px] font-bold uppercase tracking-widest;
}
/* —— Layout —— */
.page-header {
@apply hidden md:flex items-center justify-between w-full mb-6 mt-2 md:mt-0;
}
.page-title {
@apply text-xl md:text-3xl font-black tracking-tight text-transparent bg-clip-text bg-gradient-to-r from-plex to-plex-hover;
}
.nav-item-active {
@apply bg-plex/15 text-plex;
box-shadow: 0 0 15px rgb(var(--color-plex) / 0.1);
}
.nav-shell {
@apply bg-card/80 backdrop-blur-2xl border-white/10;
}
.modal-glass {
@apply glass-card-lg p-6 max-w-sm w-full;
}
.animate-fade-in {
animation: fade-in 0.2s ease-out;
}
.animate-slide-up {
animation: slide-up 0.25s ease-out;
}
.settings-panel {
@apply glass-card p-5 sm:p-6 md:p-8 lg:p-10 w-full min-w-0;
}
.settings-panel > label:not([class]),
.settings-panel .mb-4 > label:first-child {
@apply block text-sm font-semibold text-text/90 mb-2;
}
.settings-panel .mb-4 {
margin-bottom: 1.5rem;
}
.settings-panel .mb-4:last-child,
.settings-panel .mb-8:last-child {
margin-bottom: 0;
}
.settings-panel h3 {
@apply pb-3 border-border/60;
margin-bottom: 1.5rem;
}
.settings-panel .integration-heading-title {
margin-bottom: 0;
padding-bottom: 0;
border-bottom-width: 0;
}
/* Discover: container on parent — grids query content width (sidebar-aware) */
.discover-layout-container {
container-type: inline-size;
width: 100%;
}
.discover-poster-grid {
display: grid;
width: 100%;
padding-bottom: 1rem;
gap: 0.75rem;
grid-template-columns: repeat(3, minmax(0, 1fr));
}
@container (min-width: 24rem) {
.discover-poster-grid {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
}
@container (min-width: 30rem) {
.discover-poster-grid {
grid-template-columns: repeat(5, minmax(0, 1fr));
}
}