@jjlmoya/utils-diy 1.9.0 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/package.json +5 -3
  2. package/scripts/postinstall.mjs +27 -0
  3. package/src/tool/balusterCalculator/baluster-calculator.css +320 -0
  4. package/src/tool/balusterCalculator/component.astro +0 -322
  5. package/src/tool/clayCalculator/clay-shrinkage-calculator.css +530 -0
  6. package/src/tool/clayCalculator/component.astro +0 -532
  7. package/src/tool/concreteCalculator/component.astro +0 -705
  8. package/src/tool/concreteCalculator/concrete-mortar-calculator.css +703 -0
  9. package/src/tool/cutOptimizer/component.astro +0 -477
  10. package/src/tool/cutOptimizer/cut-optimizer.css +475 -0
  11. package/src/tool/drillCalculator/component.astro +0 -815
  12. package/src/tool/drillCalculator/drill-rpm-calculator.css +813 -0
  13. package/src/tool/drillSharpener/component.astro +0 -393
  14. package/src/tool/drillSharpener/drill-sharpening-master.css +391 -0
  15. package/src/tool/epoxyCalculator/component.astro +0 -571
  16. package/src/tool/epoxyCalculator/epoxy-resin-calculator.css +569 -0
  17. package/src/tool/furnitureFit/component.astro +0 -345
  18. package/src/tool/furnitureFit/furniture-fit-calculator.css +343 -0
  19. package/src/tool/mortarCalculator/component.astro +0 -620
  20. package/src/tool/mortarCalculator/lime-mortar-calculator.css +618 -0
  21. package/src/tool/passepartoutCalculator/component.astro +0 -518
  22. package/src/tool/passepartoutCalculator/passepartout-calculator.css +516 -0
  23. package/src/tool/stairCalculator/component.astro +0 -480
  24. package/src/tool/stairCalculator/stair-calculator.css +478 -0
  25. package/src/tool/thermalExpansionCalculator/component.astro +0 -490
  26. package/src/tool/thermalExpansionCalculator/thermal-expansion-calculator.css +488 -0
  27. package/src/tool/voltageDropCalculator/component.astro +0 -729
  28. package/src/tool/voltageDropCalculator/voltage-drop-calculator.css +727 -0
@@ -395,818 +395,3 @@ const t = (ui ?? {}) as DrillCalculatorUI;
395
395
  dcCalculate();
396
396
  </script>
397
397
 
398
- <style>
399
- :root {
400
- --dc-primary: #6366f1;
401
- --dc-primary-dark: #4f46e5;
402
- --dc-primary-light: #818cf8;
403
- --dc-accent: #f59e0b;
404
- --dc-accent-dark: #d97706;
405
- --dc-accent-light: #fbbf24;
406
- --dc-danger: #ef4444;
407
- --dc-success: #10b981;
408
- --dc-neutral: #374151;
409
- --dc-border: #e5e7eb;
410
- }
411
-
412
- :global(.theme-dark) {
413
- --dc-primary: #818cf8;
414
- --dc-primary-dark: #6366f1;
415
- --dc-accent: #fbbf24;
416
- --dc-border: rgba(255, 255, 255, 0.1);
417
- }
418
-
419
-
420
-
421
- .dc-root {
422
- width: 100%;
423
- max-width: 1200px;
424
- margin: 0 auto;
425
- }
426
-
427
- .dc-card {
428
- border: 1px solid var(--dc-border);
429
- border-radius: 32px;
430
- overflow: hidden;
431
- background: rgba(255, 255, 255, 0.3);
432
- }
433
-
434
- :global(.theme-dark) .dc-card {
435
- background: rgba(255, 255, 255, 0.01);
436
- }
437
-
438
- .dc-grid {
439
- display: grid;
440
- grid-template-columns: 1.4fr 1fr;
441
- min-height: 600px;
442
- }
443
-
444
- .dc-sidebar {
445
- padding: 3rem;
446
- background: rgba(255, 255, 255, 0.6);
447
- border-right: 1px solid var(--dc-border);
448
- display: flex;
449
- flex-direction: column;
450
- gap: 2.5rem;
451
- }
452
-
453
- :global(.theme-dark) .dc-sidebar {
454
- background: rgba(255, 255, 255, 0.02);
455
- }
456
-
457
- .dc-main {
458
- padding: 3rem;
459
- display: flex;
460
- flex-direction: column;
461
- gap: 2.5rem;
462
- background: rgba(255, 255, 255, 0.2);
463
- }
464
-
465
- :global(.theme-dark) .dc-main {
466
- background: rgba(255, 255, 255, 0.005);
467
- }
468
-
469
- .dc-field {
470
- display: flex;
471
- flex-direction: column;
472
- gap: 0.6rem;
473
- }
474
-
475
- .dc-field-label {
476
- font-size: 0.85rem;
477
- font-weight: 700;
478
- text-transform: uppercase;
479
- letter-spacing: 0.1em;
480
- color: #6b7280;
481
- }
482
-
483
- :global(.theme-dark) .dc-field-label {
484
- color: #9ca3af;
485
- }
486
-
487
- .dc-mat-list {
488
- display: grid;
489
- grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
490
- gap: 1rem;
491
- }
492
-
493
- .dc-mat-chip {
494
- padding: 1rem;
495
- border: 2px solid var(--dc-border);
496
- border-radius: 12px;
497
- background: white;
498
- cursor: pointer;
499
- transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
500
- font-size: 0.75rem;
501
- font-weight: 700;
502
- color: var(--dc-neutral);
503
- display: flex;
504
- flex-direction: column;
505
- align-items: center;
506
- gap: 0.75rem;
507
- position: relative;
508
- }
509
-
510
- .dc-mat-icon {
511
- width: 64px;
512
- height: 64px;
513
- color: var(--dc-primary);
514
- flex-shrink: 0;
515
- display: flex;
516
- align-items: center;
517
- justify-content: center;
518
- font-size: 2.5rem;
519
- }
520
-
521
- .dc-mat-chip:hover {
522
- border-color: var(--dc-primary);
523
- }
524
-
525
- :global(.dc-mat-chip.active) {
526
- background: white;
527
- border-color: var(--dc-accent);
528
- transform: rotate(5deg) scale(1.05);
529
- box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
530
- }
531
-
532
- :global(.theme-dark) .dc-mat-chip {
533
- background: rgba(255, 255, 255, 0.05);
534
- border-color: rgba(255, 255, 255, 0.1);
535
- color: #e5e7eb;
536
- }
537
-
538
- :global(.theme-dark .dc-mat-chip.active) {
539
- background: rgba(255, 255, 255, 0.1);
540
- border-color: var(--dc-accent);
541
- }
542
-
543
- .dc-toggle-group {
544
- display: grid;
545
- grid-template-columns: 1fr 1fr;
546
- gap: 0.5rem;
547
- }
548
-
549
- .dc-toggle-btn {
550
- padding: 0.8rem 1rem;
551
- border: 1px solid var(--dc-border);
552
- border-radius: 8px;
553
- background: white;
554
- color: var(--dc-neutral);
555
- font-weight: 700;
556
- font-size: 0.75rem;
557
- cursor: pointer;
558
- transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
559
- }
560
-
561
- .dc-toggle-btn:hover {
562
- border-color: var(--dc-primary);
563
- }
564
-
565
- :global(.dc-toggle-btn.active) {
566
- background: var(--dc-primary);
567
- border-color: var(--dc-primary);
568
- color: white;
569
- }
570
-
571
- :global(.theme-dark) .dc-toggle-btn {
572
- background: rgba(255, 255, 255, 0.05);
573
- border-color: rgba(255, 255, 255, 0.1);
574
- color: #e5e7eb;
575
- }
576
-
577
- :global(.theme-dark .dc-toggle-btn.active) {
578
- background: var(--dc-primary);
579
- border-color: var(--dc-primary);
580
- color: white;
581
- box-shadow: 0 0 12px rgba(129, 140, 248, 0.4);
582
- }
583
-
584
- .dc-diameter-header {
585
- display: flex;
586
- justify-content: space-between;
587
- align-items: center;
588
- margin-bottom: 0.5rem;
589
- }
590
-
591
- .dc-unit-toggle {
592
- display: grid;
593
- grid-template-columns: 1fr 1fr;
594
- gap: 0.4rem;
595
- }
596
-
597
- .dc-unit-btn {
598
- padding: 0.5rem 0.75rem;
599
- border: 1px solid var(--dc-border);
600
- border-radius: 6px;
601
- background: white;
602
- color: var(--dc-neutral);
603
- font-weight: 700;
604
- font-size: 0.7rem;
605
- cursor: pointer;
606
- transition: all 0.2s;
607
- }
608
-
609
- :global(.dc-unit-btn.active) {
610
- background: white;
611
- border-color: var(--dc-primary);
612
- color: var(--dc-primary);
613
- box-shadow: 0 2px 8px rgba(99, 102, 241, 0.15);
614
- }
615
-
616
- :global(.theme-dark) .dc-unit-btn {
617
- background: rgba(255, 255, 255, 0.05);
618
- border-color: rgba(255, 255, 255, 0.1);
619
- color: #e5e7eb;
620
- }
621
-
622
- .dc-diameter-display {
623
- font-size: 1.3rem;
624
- font-weight: 900;
625
- color: var(--dc-primary);
626
- margin-bottom: 0.5rem;
627
- }
628
-
629
- :global(.theme-dark) .dc-diameter-display {
630
- color: var(--dc-primary-light);
631
- }
632
-
633
- .dc-slider-box {
634
- width: 100%;
635
- }
636
-
637
- .dc-slider {
638
- width: 100%;
639
- height: 8px;
640
- border-radius: 4px;
641
- background: var(--dc-border);
642
- outline: none;
643
- appearance: none;
644
- -webkit-appearance: none;
645
- }
646
-
647
- .dc-slider::-webkit-slider-thumb {
648
- appearance: none;
649
- -webkit-appearance: none;
650
- width: 24px;
651
- height: 24px;
652
- border-radius: 50%;
653
- background: var(--dc-primary);
654
- cursor: pointer;
655
- box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
656
- }
657
-
658
- .dc-slider::-moz-range-thumb {
659
- width: 24px;
660
- height: 24px;
661
- border-radius: 50%;
662
- background: var(--dc-primary);
663
- cursor: pointer;
664
- border: none;
665
- box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
666
- }
667
-
668
- .dc-mode-badge {
669
- display: flex;
670
- justify-content: space-between;
671
- align-items: center;
672
- background: rgba(99, 102, 241, 0.1);
673
- border: 1px solid rgba(99, 102, 241, 0.2);
674
- border-radius: 12px;
675
- padding: 1rem;
676
- }
677
-
678
- :global(.theme-dark) .dc-mode-badge {
679
- background: rgba(99, 102, 241, 0.15);
680
- border-color: rgba(99, 102, 241, 0.3);
681
- }
682
-
683
- .dc-mode-label {
684
- font-size: 0.75rem;
685
- font-weight: 800;
686
- color: var(--dc-primary);
687
- text-transform: uppercase;
688
- letter-spacing: 0.05em;
689
- }
690
-
691
- :global(.theme-dark) .dc-mode-label {
692
- color: var(--dc-primary-light);
693
- }
694
-
695
- .dc-toggle-switch {
696
- width: 48px;
697
- height: 24px;
698
- border-radius: 12px;
699
- background: var(--dc-border);
700
- cursor: pointer;
701
- transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
702
- position: relative;
703
- }
704
-
705
- :global(.dc-toggle-switch.active) {
706
- background: var(--dc-primary);
707
- }
708
-
709
- .dc-toggle-switch::after {
710
- content: '';
711
- position: absolute;
712
- width: 20px;
713
- height: 20px;
714
- border-radius: 50%;
715
- background: white;
716
- top: 2px;
717
- left: 2px;
718
- transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
719
- }
720
-
721
- :global(.dc-toggle-switch.active::after) {
722
- left: 26px;
723
- }
724
-
725
- .dc-advanced {
726
- margin-top: auto;
727
- }
728
- .dc-advanced-trigger {
729
- width: 100%;
730
- padding: 0.75rem 1rem;
731
- background: white;
732
- border: 2px dashed var(--dc-border);
733
- border-radius: 12px;
734
- display: flex;
735
- justify-content: space-between;
736
- align-items: center;
737
- cursor: pointer;
738
- font-weight: 700;
739
- color: var(--dc-primary);
740
- font-size: 0.8rem;
741
- transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
742
- }
743
- .dc-advanced-trigger:hover {
744
- border-style: solid;
745
- background: rgba(99, 102, 241, 0.05);
746
- }
747
- :global(.theme-dark) .dc-advanced-trigger {
748
- background: rgba(255, 255, 255, 0.05);
749
- border-color: rgba(99, 102, 241, 0.3);
750
- color: var(--dc-primary-light);
751
- }
752
-
753
- .dc-chevron {
754
- width: 16px;
755
- height: 16px;
756
- color: inherit;
757
- transition: transform 0.2s;
758
- }
759
-
760
- :global(.dc-chevron.rotate) {
761
- transform: rotate(180deg);
762
- }
763
-
764
- .dc-advanced-body {
765
- max-height: 0;
766
- overflow: hidden;
767
- transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
768
- margin-top: 0;
769
- }
770
- :global(.dc-advanced-body.visible) {
771
- max-height: 500px;
772
- margin-top: 1rem;
773
- }
774
- .dc-adv-grid {
775
- display: grid;
776
- grid-template-columns: 1fr 1fr;
777
- gap: 1rem;
778
- }
779
-
780
- .dc-input {
781
- width: 100%;
782
- padding: 1rem;
783
- border: 1px solid var(--dc-border);
784
- border-radius: 8px;
785
- font-weight: 700;
786
- background: white;
787
- color: var(--dc-neutral);
788
- transition: border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
789
- }
790
-
791
- .dc-input:focus {
792
- outline: none;
793
- border-color: var(--dc-primary);
794
- }
795
-
796
- :global(.theme-dark) .dc-input {
797
- background: rgba(0, 0, 0, 0.25);
798
- border-color: rgba(255, 255, 255, 0.1);
799
- color: #f9fafb;
800
- }
801
-
802
- .dc-hero {
803
- text-align: center;
804
- padding: 3rem;
805
- background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(245, 158, 11, 0.05));
806
- border-radius: 16px;
807
- }
808
-
809
- .dc-hero-label {
810
- font-size: 0.7rem;
811
- font-weight: 800;
812
- text-transform: uppercase;
813
- letter-spacing: 0.15em;
814
- color: var(--dc-primary);
815
- }
816
-
817
- :global(.theme-dark) .dc-hero-label {
818
- color: var(--dc-primary-light);
819
- }
820
-
821
- .dc-rpm-number {
822
- font-size: 6rem;
823
- font-weight: 900;
824
- color: var(--dc-primary);
825
- line-height: 1;
826
- margin: 1rem 0;
827
- }
828
- :global(.dc-rpm-number.limited) { color: var(--dc-danger); }
829
- :global(.dc-rpm-number.slow) { color: var(--dc-accent); }
830
- :global(.dc-rpm-number.optimal) { color: var(--dc-success); }
831
- :global(.theme-dark .dc-rpm-number) { color: var(--dc-primary-light); }
832
- :global(.theme-dark .dc-rpm-number.slow) { color: var(--dc-accent-light); }
833
-
834
- .dc-hero-unit {
835
- font-size: 0.85rem;
836
- font-weight: 800;
837
- color: #6b7280;
838
- text-transform: uppercase;
839
- letter-spacing: 0.05em;
840
- }
841
-
842
- .dc-rotation-visual {
843
- width: 80px;
844
- height: 80px;
845
- border-radius: 50%;
846
- border: 4px solid;
847
- border-top-color: var(--dc-primary);
848
- border-right-color: var(--dc-accent);
849
- border-bottom-color: var(--dc-primary);
850
- border-left-color: var(--dc-accent);
851
- margin: 1rem auto;
852
- animation: dc-spin 2s linear infinite;
853
- animation-play-state: paused;
854
- }
855
-
856
- @keyframes dc-spin {
857
- from {
858
- transform: rotate(0deg);
859
- }
860
- to {
861
- transform: rotate(360deg);
862
- }
863
- }
864
-
865
- .dc-status-row {
866
- min-height: 32px;
867
- display: flex;
868
- justify-content: center;
869
- margin-top: 0.5rem;
870
- gap: 0.5rem;
871
- }
872
-
873
- :global(.dc-badge) {
874
- display: inline-flex;
875
- align-items: center;
876
- gap: 0.5rem;
877
- padding: 0.5rem 1rem;
878
- border-radius: 20px;
879
- font-size: 0.7rem;
880
- font-weight: 700;
881
- }
882
-
883
- :global(.dc-badge-warning) {
884
- background: rgba(99, 102, 241, 0.15);
885
- color: var(--dc-primary);
886
- }
887
-
888
- :global(.theme-dark .dc-badge-warning) {
889
- background: rgba(99, 102, 241, 0.25);
890
- }
891
-
892
- :global(.dc-badge-alert) {
893
- background: rgba(239, 68, 68, 0.15);
894
- color: var(--dc-danger);
895
- }
896
-
897
- :global(.theme-dark .dc-badge-alert) {
898
- background: rgba(239, 68, 68, 0.25);
899
- }
900
-
901
- :global(.dc-badge-icon) {
902
- width: 16px;
903
- height: 16px;
904
- display: flex;
905
- align-items: center;
906
- justify-content: center;
907
- flex-shrink: 0;
908
- color: inherit;
909
- }
910
-
911
- :global(.dc-badge-icon svg) {
912
- width: 100%;
913
- height: 100%;
914
- stroke: currentcolor;
915
- fill: currentcolor;
916
- }
917
-
918
- :global(.dc-badge-icon path) {
919
- stroke: currentcolor;
920
- fill: currentcolor;
921
- }
922
-
923
- .dc-tiles {
924
- display: grid;
925
- grid-template-columns: 1fr;
926
- gap: 1rem;
927
- }
928
-
929
- .dc-tile {
930
- padding: 1.5rem;
931
- background: rgba(255, 255, 255, 0.5);
932
- border: 1px solid rgba(255, 255, 255, 0.7);
933
- border-radius: 12px;
934
- display: flex;
935
- flex-direction: row;
936
- align-items: flex-start;
937
- gap: 1rem;
938
- transition: all 0.2s;
939
- }
940
-
941
- .dc-tile:hover {
942
- background: rgba(255, 255, 255, 0.7);
943
- border-color: var(--dc-border);
944
- }
945
-
946
- :global(.theme-dark) .dc-tile {
947
- background: rgba(255, 255, 255, 0.04);
948
- border-color: rgba(255, 255, 255, 0.06);
949
- }
950
-
951
- .dc-tile-icon {
952
- width: 56px;
953
- height: 56px;
954
- color: var(--dc-primary);
955
- flex-shrink: 0;
956
- display: flex;
957
- align-items: center;
958
- justify-content: center;
959
- font-size: 2rem;
960
- }
961
-
962
- :global(.theme-dark) .dc-tile-icon {
963
- color: var(--dc-primary-light);
964
- }
965
-
966
- .dc-tile-content {
967
- display: flex;
968
- flex-direction: column;
969
- gap: 0.4rem;
970
- }
971
-
972
- .dc-tile-label {
973
- font-size: 0.7rem;
974
- font-weight: 700;
975
- text-transform: uppercase;
976
- color: #6b7280;
977
- letter-spacing: 0.05em;
978
- }
979
-
980
- :global(.theme-dark) .dc-tile-label {
981
- color: #9ca3af;
982
- }
983
-
984
- .dc-tile-value {
985
- font-size: 1.3rem;
986
- font-weight: 900;
987
- color: var(--dc-primary);
988
- }
989
-
990
- :global(.theme-dark) .dc-tile-value {
991
- color: var(--dc-primary-light);
992
- }
993
-
994
- .dc-machine-card {
995
- background: rgba(255, 255, 255, 0.4);
996
- border: 1px solid rgba(255, 255, 255, 0.6);
997
- border-radius: 12px;
998
- padding: 1.5rem;
999
- display: flex;
1000
- flex-direction: column;
1001
- gap: 1rem;
1002
- }
1003
-
1004
- :global(.theme-dark) .dc-machine-card {
1005
- background: rgba(255, 255, 255, 0.03);
1006
- border-color: rgba(255, 255, 255, 0.06);
1007
- }
1008
-
1009
- .dc-presets {
1010
- display: grid;
1011
- grid-template-columns: 1fr 1fr;
1012
- gap: 0;
1013
- border-radius: 16px 16px 0 0;
1014
- overflow: hidden;
1015
- border: 1px solid var(--dc-border);
1016
- }
1017
- .dc-preset-btn {
1018
- padding: 0.8rem 1rem;
1019
- border: none;
1020
- border-right: 1px solid var(--dc-border);
1021
- background: white;
1022
- color: var(--dc-neutral);
1023
- font-weight: 700;
1024
- font-size: 0.75rem;
1025
- cursor: pointer;
1026
- transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1027
- }
1028
- :global(.dc-preset-btn:last-child) {
1029
- border-right: none;
1030
- }
1031
-
1032
- .dc-preset-btn:hover {
1033
- background: rgba(99, 102, 241, 0.05);
1034
- }
1035
-
1036
- :global(.dc-preset-btn.active) {
1037
- background: var(--dc-primary);
1038
- color: white;
1039
- }
1040
-
1041
- :global(.theme-dark) .dc-preset-btn {
1042
- background: rgba(255, 255, 255, 0.05);
1043
- border-right-color: rgba(255, 255, 255, 0.1);
1044
- color: #e5e7eb;
1045
- }
1046
-
1047
- .dc-manual-input {
1048
- display: flex;
1049
- gap: 0;
1050
- border: 1px solid var(--dc-border);
1051
- border-radius: 8px;
1052
- overflow: hidden;
1053
- background: white;
1054
- margin-top: 0.75rem;
1055
- }
1056
- .dc-manual-input .dc-input {
1057
- flex: 1;
1058
- border: none;
1059
- border-radius: 0;
1060
- padding: 0.8rem 1rem;
1061
- font-size: 0.9rem;
1062
- }
1063
-
1064
- .dc-input::placeholder {
1065
- color: #9ca3af;
1066
- }
1067
-
1068
- .dc-manual-input .dc-input:focus {
1069
- background: rgba(99, 102, 241, 0.02);
1070
- }
1071
-
1072
- :global(.theme-dark) .dc-manual-input .dc-input {
1073
- background: rgba(255, 255, 255, 0.08);
1074
- color: #f9fafb;
1075
- border-color: rgba(255, 255, 255, 0.1);
1076
- }
1077
- .dc-add-btn {
1078
- padding: 0.8rem 1.2rem;
1079
- background: var(--dc-primary);
1080
- color: white;
1081
- border: none;
1082
- font-weight: 900;
1083
- cursor: pointer;
1084
- transition: all 0.2s;
1085
- display: flex;
1086
- align-items: center;
1087
- justify-content: center;
1088
- font-size: 1.2rem;
1089
- }
1090
- .dc-add-btn:hover {
1091
- background: var(--dc-primary-dark);
1092
- }
1093
-
1094
- :global(.dc-chips-area) {
1095
- display: flex;
1096
- flex-wrap: wrap;
1097
- gap: 0.5rem;
1098
- min-height: 0;
1099
- }
1100
- :global(.dc-chip) {
1101
- display: inline-flex;
1102
- align-items: center;
1103
- gap: 0.5rem;
1104
- background: rgba(99, 102, 241, 0.1);
1105
- color: var(--dc-primary);
1106
- padding: 0.5rem 0.8rem;
1107
- border-radius: 16px;
1108
- font-size: 0.75rem;
1109
- font-weight: 700;
1110
- }
1111
- :global(.theme-dark .dc-chip) {
1112
- background: rgba(99, 102, 241, 0.15);
1113
- color: var(--dc-primary-light);
1114
- }
1115
- :global(.dc-chip button) {
1116
- background: none;
1117
- border: none;
1118
- color: inherit;
1119
- cursor: pointer;
1120
- font-weight: 900;
1121
- padding: 0;
1122
- width: 16px;
1123
- height: 16px;
1124
- display: flex;
1125
- align-items: center;
1126
- justify-content: center;
1127
- transition: color 0.2s;
1128
- }
1129
- :global(.dc-chip button:hover) { color: var(--dc-danger); }
1130
-
1131
- :global(.dc-match-box) {
1132
- background: rgba(99, 102, 241, 0.08);
1133
- border: 1px solid rgba(99, 102, 241, 0.2);
1134
- border-radius: 12px;
1135
- padding: 1.2rem;
1136
- text-align: center;
1137
- animation: slide-in-up 0.4s cubic-bezier(0.4, 0, 0.2, 1);
1138
- }
1139
-
1140
- @keyframes slide-in-up {
1141
- from {
1142
- opacity: 0;
1143
- transform: translateY(20px);
1144
- }
1145
- to {
1146
- opacity: 1;
1147
- transform: translateY(0);
1148
- }
1149
- }
1150
- :global(.dc-match-header) {
1151
- font-size: 0.75rem;
1152
- font-weight: 800;
1153
- text-transform: uppercase;
1154
- color: var(--dc-primary);
1155
- margin-bottom: 0.6rem;
1156
- letter-spacing: 0.05em;
1157
- }
1158
-
1159
- :global(.theme-dark .dc-match-header) {
1160
- color: var(--dc-primary-light);
1161
- }
1162
-
1163
- :global(.dc-match-value) {
1164
- font-size: 1.5rem;
1165
- font-weight: 900;
1166
- color: var(--dc-primary);
1167
- }
1168
-
1169
- :global(.theme-dark .dc-match-value) {
1170
- color: var(--dc-primary-light);
1171
- }
1172
-
1173
- :global(.dc-match-hint) {
1174
- font-size: 0.65rem;
1175
- color: #6b7280;
1176
- margin: 0.6rem 0 0;
1177
- }
1178
-
1179
- @media (max-width: 900px) {
1180
- .dc-grid {
1181
- grid-template-columns: 1fr;
1182
- }
1183
-
1184
- .dc-sidebar {
1185
- border-right: none;
1186
- border-bottom: 1px solid var(--dc-border);
1187
- padding: 2rem;
1188
- gap: 2rem;
1189
- }
1190
-
1191
- .dc-main {
1192
- padding: 2rem;
1193
- gap: 2rem;
1194
- }
1195
-
1196
- .dc-tiles {
1197
- grid-template-columns: 1fr;
1198
- }
1199
-
1200
- .dc-mat-list {
1201
- grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
1202
- }
1203
-
1204
- .dc-rpm-number {
1205
- font-size: 3.5rem;
1206
- }
1207
- }
1208
-
1209
- :global(.hidden) {
1210
- display: none;
1211
- }
1212
- </style>