@co0ontty/wand 1.14.6 → 1.15.1

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.
@@ -7325,49 +7325,398 @@
7325
7325
  /* ── Settings modal ── */
7326
7326
 
7327
7327
  .settings-modal {
7328
- max-width: 520px;
7329
- max-height: 80vh;
7328
+ width: min(1080px, 100%);
7329
+ max-width: 1080px;
7330
+ height: min(88vh, 920px);
7331
+ max-height: min(88vh, 920px);
7332
+ min-height: min(88vh, 920px);
7333
+ overflow: hidden;
7334
+ }
7335
+
7336
+ .settings-modal-header {
7337
+ align-items: flex-start;
7338
+ gap: 16px;
7339
+ padding-bottom: 14px;
7340
+ }
7341
+
7342
+ .settings-modal-title-group {
7343
+ display: flex;
7344
+ flex-direction: column;
7345
+ gap: 4px;
7346
+ min-width: 0;
7347
+ }
7348
+
7349
+ .settings-modal-subtitle {
7350
+ font-size: 0.75rem;
7351
+ color: var(--text-muted);
7352
+ line-height: 1.5;
7353
+ }
7354
+
7355
+ .settings-modal-body {
7356
+ padding-top: 18px;
7357
+ flex: 1 1 auto;
7358
+ min-height: 0;
7359
+ overflow: hidden;
7360
+ display: flex;
7361
+ flex-direction: column;
7362
+ }
7363
+
7364
+ .settings-layout {
7365
+ display: grid;
7366
+ grid-template-columns: 260px minmax(0, 1fr);
7367
+ gap: 22px;
7368
+ min-height: 0;
7369
+ flex: 1 1 auto;
7370
+ align-items: stretch;
7371
+ }
7372
+
7373
+ .settings-layout > * {
7374
+ min-height: 0;
7375
+ }
7376
+
7377
+ .settings-sidebar {
7378
+ display: flex;
7379
+ flex-direction: column;
7380
+ gap: 14px;
7381
+ min-width: 0;
7382
+ min-height: 0;
7383
+ padding-right: 6px;
7384
+ border-right: 1px solid var(--border-subtle);
7385
+ overflow: hidden;
7386
+ }
7387
+
7388
+ .settings-sidebar-header,
7389
+ .settings-sidebar-title,
7390
+ .settings-sidebar-hint {
7391
+ flex-shrink: 0;
7392
+ }
7393
+
7394
+ .settings-sidebar-header {
7395
+ display: flex;
7396
+ flex-direction: column;
7397
+ gap: 4px;
7398
+ padding: 2px 4px 0;
7399
+ }
7400
+
7401
+ .settings-sidebar-title {
7402
+ font-size: 0.875rem;
7403
+ font-weight: 700;
7404
+ color: var(--text-primary);
7405
+ letter-spacing: 0.01em;
7406
+ }
7407
+
7408
+ .settings-sidebar-hint {
7409
+ font-size: 0.75rem;
7410
+ color: var(--text-muted);
7411
+ line-height: 1.5;
7330
7412
  }
7331
7413
 
7332
7414
  .settings-tabs {
7333
7415
  display: flex;
7334
- gap: 2px;
7335
- border-bottom: 1px solid var(--border-subtle);
7336
- margin-bottom: 16px;
7337
- padding-bottom: 0;
7416
+ flex-direction: column;
7417
+ gap: 8px;
7418
+ margin: 0;
7419
+ padding: 0 10px 0 0;
7420
+ min-height: 0;
7421
+ overflow: auto;
7422
+ position: relative;
7423
+ z-index: 2;
7424
+ background: transparent;
7425
+ }
7426
+
7427
+ .settings-tabs::-webkit-scrollbar {
7428
+ width: 6px;
7429
+ height: 6px;
7430
+ }
7431
+
7432
+ .settings-tabs::-webkit-scrollbar-thumb {
7433
+ background: rgba(150, 118, 85, 0.22);
7434
+ border-radius: 999px;
7435
+ }
7436
+
7437
+ .settings-tabs::-webkit-scrollbar-thumb:hover {
7438
+ background: rgba(150, 118, 85, 0.36);
7439
+ }
7440
+
7441
+ .settings-tabs {
7442
+ scrollbar-width: thin;
7338
7443
  }
7339
7444
 
7340
7445
  .settings-tab {
7341
- padding: 8px 14px;
7446
+ position: relative;
7447
+ display: flex;
7448
+ flex-direction: column;
7449
+ align-items: flex-start;
7450
+ gap: 4px;
7451
+ width: 100%;
7452
+ padding: 12px 14px 12px 16px;
7342
7453
  font-size: 0.8125rem;
7343
- font-weight: 500;
7454
+ font-weight: 600;
7344
7455
  color: var(--text-secondary);
7345
- background: none;
7346
- border: none;
7347
- border-bottom: 2px solid transparent;
7348
- border-radius: var(--radius-sm) var(--radius-sm) 0 0;
7456
+ background: rgba(255, 255, 255, 0.55);
7457
+ border: 1px solid transparent;
7458
+ border-radius: 16px;
7349
7459
  cursor: pointer;
7350
- transition: color 0.15s, border-color 0.15s, background 0.15s;
7351
- white-space: nowrap;
7460
+ transition: color 0.15s, border-color 0.15s, background 0.15s, box-shadow 0.15s, transform 0.15s;
7461
+ text-align: left;
7462
+ }
7463
+
7464
+ .settings-tab::before {
7465
+ content: "";
7466
+ position: absolute;
7467
+ left: 0;
7468
+ top: 10px;
7469
+ bottom: 10px;
7470
+ width: 3px;
7471
+ border-radius: 999px;
7472
+ background: transparent;
7473
+ transition: background 0.15s ease;
7352
7474
  }
7353
7475
 
7354
7476
  .settings-tab:hover {
7355
7477
  color: var(--text-primary);
7356
- background: rgba(197, 101, 61, 0.06);
7478
+ background: rgba(197, 101, 61, 0.08);
7479
+ border-color: rgba(197, 101, 61, 0.12);
7480
+ transform: translateX(2px);
7481
+ }
7482
+
7483
+ .settings-tab:focus-visible {
7484
+ outline: 2px solid var(--accent);
7485
+ outline-offset: 2px;
7357
7486
  }
7358
7487
 
7359
7488
  .settings-tab.active {
7360
7489
  color: var(--accent);
7361
- border-bottom-color: var(--accent);
7362
- background: var(--accent-muted);
7490
+ border-color: rgba(197, 101, 61, 0.16);
7491
+ background: linear-gradient(135deg, rgba(197, 101, 61, 0.12), rgba(197, 101, 61, 0.05));
7492
+ box-shadow: inset 0 0 0 1px rgba(197, 101, 61, 0.08), var(--shadow-xs);
7493
+ }
7494
+
7495
+ .settings-tab.active::before {
7496
+ background: var(--accent);
7497
+ }
7498
+
7499
+ .settings-tab-main {
7500
+ font-size: 0.875rem;
7501
+ font-weight: 700;
7502
+ color: inherit;
7503
+ line-height: 1.3;
7504
+ }
7505
+
7506
+ .settings-tab-meta {
7507
+ font-size: 0.75rem;
7508
+ font-weight: 500;
7509
+ color: var(--text-muted);
7510
+ line-height: 1.45;
7511
+ }
7512
+
7513
+ .settings-tab.active .settings-tab-meta {
7514
+ color: var(--text-secondary);
7515
+ }
7516
+
7517
+ .settings-content {
7518
+ min-width: 0;
7519
+ min-height: 0;
7520
+ height: 100%;
7521
+ overflow: auto;
7522
+ padding-right: 4px;
7363
7523
  }
7364
7524
 
7365
7525
  .settings-panel {
7366
7526
  display: none;
7527
+ min-height: 100%;
7528
+ padding: 2px 2px 8px;
7529
+ }
7530
+
7531
+ .settings-content::-webkit-scrollbar {
7532
+ width: 8px;
7533
+ }
7534
+
7535
+ .settings-content::-webkit-scrollbar-thumb {
7536
+ background: rgba(150, 118, 85, 0.24);
7537
+ border-radius: 999px;
7538
+ }
7539
+
7540
+ .settings-content::-webkit-scrollbar-thumb:hover {
7541
+ background: rgba(150, 118, 85, 0.38);
7542
+ }
7543
+
7544
+ .settings-content {
7545
+ scrollbar-width: thin;
7367
7546
  }
7368
7547
 
7369
7548
  .settings-panel.active {
7370
7549
  display: block;
7550
+ animation: fade-in 0.18s ease;
7551
+ }
7552
+
7553
+ .settings-panel-header {
7554
+ display: flex;
7555
+ flex-direction: column;
7556
+ gap: 6px;
7557
+ margin: 0 0 14px;
7558
+ padding-bottom: 12px;
7559
+ border-bottom: 1px solid rgba(125, 91, 57, 0.12);
7560
+ }
7561
+
7562
+ .settings-panel-title {
7563
+ font-size: 1.0625rem;
7564
+ font-weight: 700;
7565
+ color: var(--text-primary);
7566
+ line-height: 1.2;
7567
+ letter-spacing: -0.01em;
7568
+ }
7569
+
7570
+ .settings-panel-desc {
7571
+ font-size: 0.8125rem;
7572
+ color: var(--text-secondary);
7573
+ line-height: 1.55;
7574
+ }
7575
+
7576
+ .settings-panel-intro {
7577
+ margin: 0 0 14px;
7578
+ padding: 11px 13px;
7579
+ border-radius: var(--radius-md);
7580
+ background: linear-gradient(135deg, rgba(197, 101, 61, 0.08), rgba(197, 101, 61, 0.03));
7581
+ border: 1px solid rgba(197, 101, 61, 0.12);
7582
+ color: var(--text-secondary);
7583
+ font-size: 0.75rem;
7584
+ line-height: 1.6;
7585
+ }
7586
+
7587
+ .settings-panel > .settings-section-title {
7588
+ margin-top: 18px;
7589
+ }
7590
+
7591
+ .settings-panel > .settings-section-title:first-of-type {
7592
+ margin-top: 0;
7593
+ }
7594
+
7595
+ .settings-panel > .field-row,
7596
+ .settings-panel > .field,
7597
+ .settings-panel > .field-hint {
7598
+ max-width: 760px;
7599
+ }
7600
+
7601
+ .settings-panel > .switch-card-list,
7602
+ .settings-panel > .settings-card,
7603
+ .settings-panel > .settings-update-section,
7604
+ .settings-panel > .settings-notification-section,
7605
+ .settings-panel > #presets-list {
7606
+ max-width: 860px;
7607
+ }
7608
+
7609
+ .settings-panel > .settings-card + .settings-card,
7610
+ .settings-panel > .settings-update-section + .settings-update-section,
7611
+ .settings-panel > .settings-notification-section + .settings-notification-section {
7612
+ margin-top: 14px;
7613
+ }
7614
+
7615
+ .settings-panel[hidden] {
7616
+ display: none !important;
7617
+ }
7618
+
7619
+ .settings-panel-mixed-grid {
7620
+ display: grid;
7621
+ grid-template-columns: minmax(0, 1fr);
7622
+ gap: 14px;
7623
+ }
7624
+
7625
+ @media (min-width: 960px) {
7626
+ .settings-panel-mixed-grid.two-column {
7627
+ grid-template-columns: repeat(2, minmax(0, 1fr));
7628
+ }
7629
+ }
7630
+
7631
+ @media (max-width: 900px) {
7632
+ .settings-layout {
7633
+ grid-template-columns: 220px minmax(0, 1fr);
7634
+ gap: 18px;
7635
+ }
7636
+ }
7637
+
7638
+ @media (max-width: 768px) {
7639
+ .settings-modal {
7640
+ width: min(100%, 720px);
7641
+ height: min(92vh, 920px);
7642
+ max-height: min(92vh, 920px);
7643
+ min-height: min(92vh, 920px);
7644
+ }
7645
+
7646
+ .settings-modal-body {
7647
+ overflow-y: auto;
7648
+ }
7649
+
7650
+ .settings-layout {
7651
+ grid-template-columns: minmax(0, 1fr);
7652
+ gap: 14px;
7653
+ flex: 0 0 auto;
7654
+ }
7655
+
7656
+ .settings-sidebar {
7657
+ padding-right: 0;
7658
+ border-right: none;
7659
+ }
7660
+
7661
+ .settings-tabs {
7662
+ flex-direction: row;
7663
+ flex-wrap: nowrap;
7664
+ overflow-x: auto;
7665
+ scrollbar-width: none;
7666
+ padding-right: 0;
7667
+ padding-bottom: 4px;
7668
+ }
7669
+
7670
+ .settings-tabs::-webkit-scrollbar {
7671
+ display: none;
7672
+ }
7673
+
7674
+ .settings-tab {
7675
+ flex: 0 0 200px;
7676
+ min-height: 72px;
7677
+ }
7678
+
7679
+ .settings-tab:hover {
7680
+ transform: none;
7681
+ }
7682
+
7683
+ .settings-content {
7684
+ overflow: visible;
7685
+ padding-right: 0;
7686
+ }
7687
+ }
7688
+
7689
+ @media (max-width: 480px) {
7690
+ .settings-tab {
7691
+ flex-basis: 180px;
7692
+ padding: 10px 12px 10px 14px;
7693
+ }
7694
+
7695
+ .settings-tab-main {
7696
+ font-size: 0.8125rem;
7697
+ }
7698
+
7699
+ .settings-tab-meta {
7700
+ font-size: 0.6875rem;
7701
+ }
7702
+ }
7703
+
7704
+ @supports not (position: sticky) {
7705
+ .settings-tabs,
7706
+ .settings-actions-sticky {
7707
+ position: static;
7708
+ }
7709
+ }
7710
+
7711
+ .settings-panel-intro {
7712
+ margin: 0 0 14px;
7713
+ padding: 11px 13px;
7714
+ border-radius: var(--radius-md);
7715
+ background: linear-gradient(135deg, rgba(197, 101, 61, 0.08), rgba(197, 101, 61, 0.03));
7716
+ border: 1px solid rgba(197, 101, 61, 0.12);
7717
+ color: var(--text-secondary);
7718
+ font-size: 0.75rem;
7719
+ line-height: 1.6;
7371
7720
  }
7372
7721
 
7373
7722
  .settings-about-info {
@@ -7375,17 +7724,20 @@
7375
7724
  flex-direction: column;
7376
7725
  gap: 0;
7377
7726
  margin-bottom: 18px;
7378
- background: var(--bg-secondary);
7379
- border-radius: var(--radius-md);
7380
- padding: 2px 14px;
7727
+ background: rgba(255, 255, 255, 0.5);
7728
+ border: 1px solid var(--border-subtle);
7729
+ border-radius: var(--radius-lg);
7730
+ padding: 4px 16px;
7731
+ box-shadow: var(--shadow-xs);
7381
7732
  }
7382
7733
 
7383
7734
  .settings-about-row {
7384
7735
  display: flex;
7385
7736
  justify-content: space-between;
7386
7737
  align-items: center;
7738
+ gap: 14px;
7387
7739
  font-size: 0.8125rem;
7388
- padding: 9px 0;
7740
+ padding: 12px 0;
7389
7741
  border-bottom: 1px solid var(--border-subtle);
7390
7742
  }
7391
7743
 
@@ -7395,13 +7747,17 @@
7395
7747
 
7396
7748
  .settings-label {
7397
7749
  color: var(--text-secondary);
7398
- font-weight: 500;
7750
+ font-weight: 600;
7751
+ flex: 0 0 112px;
7399
7752
  }
7400
7753
 
7401
7754
  .settings-value {
7402
7755
  color: var(--text-primary);
7403
7756
  font-family: var(--font-mono);
7404
7757
  font-size: 0.8rem;
7758
+ min-width: 0;
7759
+ text-align: right;
7760
+ word-break: break-word;
7405
7761
  }
7406
7762
 
7407
7763
  .settings-value a {
@@ -7413,38 +7769,64 @@
7413
7769
  text-decoration: underline;
7414
7770
  }
7415
7771
 
7416
- .settings-update-section {
7417
- border-top: 1px solid var(--border-subtle);
7418
- padding-top: 14px;
7772
+ .settings-update-section,
7773
+ .settings-notification-section,
7774
+ .settings-card,
7775
+ .switch-card,
7776
+ .preset-item {
7777
+ box-shadow: var(--shadow-xs);
7419
7778
  }
7420
7779
 
7780
+ .settings-update-section,
7421
7781
  .settings-notification-section {
7422
- border-top: 1px solid var(--border-subtle);
7423
- padding-top: 14px;
7424
- margin-top: 4px;
7782
+ margin-top: 14px;
7783
+ padding: 16px;
7784
+ border: 1px solid var(--border-subtle);
7785
+ border-radius: var(--radius-lg);
7786
+ background: rgba(255, 255, 255, 0.48);
7425
7787
  }
7788
+
7426
7789
  .settings-section-title {
7427
- font-size: 0.8125rem;
7428
- font-weight: 600;
7790
+ font-size: 0.875rem;
7791
+ font-weight: 700;
7429
7792
  color: var(--text-primary);
7430
7793
  margin: 0 0 12px 0;
7431
- letter-spacing: 0.02em;
7794
+ letter-spacing: 0.01em;
7432
7795
  }
7433
7796
 
7434
- .settings-update-actions {
7797
+ .settings-update-actions,
7798
+ .settings-actions {
7435
7799
  display: flex;
7436
- gap: 8px;
7800
+ gap: 10px;
7801
+ flex-wrap: wrap;
7802
+ margin-top: 12px;
7803
+ }
7804
+
7805
+ .settings-actions-sticky {
7806
+ position: sticky;
7807
+ bottom: 0;
7808
+ padding-top: 16px;
7809
+ background: linear-gradient(180deg, rgba(255, 251, 245, 0), rgba(255, 251, 245, 0.98) 28px);
7810
+ z-index: 1;
7811
+ }
7812
+
7813
+ .settings-status-message {
7437
7814
  margin-top: 10px;
7438
7815
  }
7439
7816
 
7817
+ .settings-inline-hint {
7818
+ margin-top: -4px;
7819
+ margin-bottom: 12px;
7820
+ }
7821
+
7440
7822
  .settings-connect-url-box {
7441
7823
  display: flex;
7442
7824
  align-items: center;
7443
- gap: 8px;
7444
- background: var(--bg-primary);
7825
+ gap: 10px;
7826
+ background: rgba(255, 255, 255, 0.72);
7445
7827
  border: 1px solid var(--border-subtle);
7446
- border-radius: 6px;
7447
- padding: 6px 10px;
7828
+ border-radius: 12px;
7829
+ padding: 10px 12px;
7448
7830
  margin-top: 6px;
7449
7831
  }
7450
7832
 
@@ -7475,6 +7857,10 @@
7475
7857
  align-items: center;
7476
7858
  gap: 10px;
7477
7859
  flex-direction: row;
7860
+ padding: 10px 12px;
7861
+ border-radius: 12px;
7862
+ background: rgba(255, 255, 255, 0.38);
7863
+ border: 1px solid rgba(125, 91, 57, 0.08);
7478
7864
  }
7479
7865
 
7480
7866
  .field-inline .field-label {
@@ -7483,8 +7869,8 @@
7483
7869
 
7484
7870
  .field-row {
7485
7871
  display: grid;
7486
- grid-template-columns: 1fr 1fr;
7487
- gap: 12px;
7872
+ grid-template-columns: repeat(2, minmax(0, 1fr));
7873
+ gap: 14px;
7488
7874
  margin-bottom: 14px;
7489
7875
  }
7490
7876
  .field-row .field {
@@ -7492,9 +7878,10 @@
7492
7878
  }
7493
7879
 
7494
7880
  .settings-card {
7495
- background: var(--bg-secondary);
7496
- border-radius: var(--radius-md);
7497
- padding: 16px;
7881
+ background: rgba(255, 255, 255, 0.52);
7882
+ border: 1px solid var(--border-subtle);
7883
+ border-radius: var(--radius-lg);
7884
+ padding: 18px;
7498
7885
  margin-bottom: 14px;
7499
7886
  }
7500
7887
  .settings-card .field:last-of-type {
@@ -7504,12 +7891,151 @@
7504
7891
  margin-top: 0;
7505
7892
  }
7506
7893
  .settings-card .field-input {
7507
- background: rgba(255, 255, 255, 0.6);
7894
+ background: rgba(255, 255, 255, 0.72);
7508
7895
  }
7509
7896
  .settings-card .btn-block {
7510
7897
  margin-bottom: 0;
7511
7898
  }
7512
7899
 
7900
+ .settings-panel .btn-block {
7901
+ min-height: 44px;
7902
+ }
7903
+
7904
+ .settings-panel .hint,
7905
+ .settings-panel .field-hint {
7906
+ line-height: 1.55;
7907
+ }
7908
+
7909
+ .settings-panel input[type="range"] {
7910
+ width: 100%;
7911
+ }
7912
+
7913
+ .settings-panel code {
7914
+ max-width: 100%;
7915
+ }
7916
+
7917
+ .settings-panel .hidden + .hint {
7918
+ margin-top: 0;
7919
+ }
7920
+
7921
+ .settings-panel .field:not(.field-inline) {
7922
+ margin-bottom: 16px;
7923
+ }
7924
+
7925
+ .settings-panel .field-input,
7926
+ .settings-panel .field-select,
7927
+ .settings-panel .field-file {
7928
+ width: 100%;
7929
+ }
7930
+
7931
+ .settings-panel .btn-sm {
7932
+ min-height: 34px;
7933
+ }
7934
+
7935
+ .settings-panel .app-icon-option {
7936
+ flex: 1 1 0;
7937
+ min-width: 0;
7938
+ }
7939
+
7940
+ .settings-panel .app-icon-preview {
7941
+ margin-left: auto;
7942
+ margin-right: auto;
7943
+ }
7944
+
7945
+ .settings-panel .error-message,
7946
+ .settings-panel .hint.hidden,
7947
+ .settings-panel .error-message.hidden {
7948
+ margin-top: 10px;
7949
+ }
7950
+
7951
+ .settings-panel #presets-list:empty::before {
7952
+ content: "加载中...";
7953
+ display: block;
7954
+ padding: 18px;
7955
+ color: var(--text-muted);
7956
+ text-align: center;
7957
+ font-size: 0.8125rem;
7958
+ }
7959
+
7960
+ @media (max-width: 768px) {
7961
+ .settings-about-row {
7962
+ align-items: flex-start;
7963
+ }
7964
+
7965
+ .settings-update-actions,
7966
+ .settings-actions {
7967
+ flex-direction: column;
7968
+ }
7969
+
7970
+ .settings-update-actions .btn,
7971
+ .settings-actions .btn {
7972
+ width: 100%;
7973
+ }
7974
+
7975
+ .settings-connect-url-box {
7976
+ flex-direction: column;
7977
+ align-items: stretch;
7978
+ }
7979
+ }
7980
+
7981
+ @media (max-width: 640px) {
7982
+ .settings-modal-header {
7983
+ gap: 10px;
7984
+ }
7985
+
7986
+ .settings-modal-subtitle {
7987
+ font-size: 0.6875rem;
7988
+ }
7989
+
7990
+ .settings-panel {
7991
+ padding-left: 0;
7992
+ padding-right: 0;
7993
+ }
7994
+
7995
+ .settings-about-info,
7996
+ .settings-update-section,
7997
+ .settings-notification-section,
7998
+ .settings-card {
7999
+ padding-left: 14px;
8000
+ padding-right: 14px;
8001
+ }
8002
+
8003
+ .settings-about-row {
8004
+ flex-direction: column;
8005
+ align-items: stretch;
8006
+ gap: 4px;
8007
+ }
8008
+
8009
+ .settings-label,
8010
+ .settings-value {
8011
+ flex: none;
8012
+ text-align: left;
8013
+ }
8014
+
8015
+ .field-inline {
8016
+ align-items: flex-start;
8017
+ }
8018
+
8019
+ .settings-panel .btn-icon {
8020
+ min-width: 34px;
8021
+ min-height: 34px;
8022
+ }
8023
+ }
8024
+
8025
+ @media (min-width: 769px) {
8026
+ .settings-panel .btn-block {
8027
+ width: auto;
8028
+ min-width: 180px;
8029
+ }
8030
+ }
8031
+
8032
+ @supports not (position: sticky) {
8033
+ .settings-tabs,
8034
+ .settings-actions-sticky {
8035
+ position: static;
8036
+ }
8037
+ }
8038
+
7513
8039
  .empty-state-compact {
7514
8040
  display: flex;
7515
8041
  flex-direction: column;
@@ -7535,20 +8061,21 @@
7535
8061
  .switch-card-list {
7536
8062
  display: flex;
7537
8063
  flex-direction: column;
7538
- gap: 8px;
8064
+ gap: 10px;
7539
8065
  }
7540
8066
  .switch-card {
7541
8067
  display: block;
7542
- background: var(--bg-secondary);
8068
+ background: rgba(255, 255, 255, 0.5);
7543
8069
  border: 1px solid var(--border);
7544
- border-radius: 10px;
7545
- padding: 12px 14px;
8070
+ border-radius: 14px;
8071
+ padding: 14px 16px;
7546
8072
  cursor: pointer;
7547
- transition: border-color 0.2s, background 0.2s;
8073
+ transition: border-color 0.2s, background 0.2s, transform 0.2s;
7548
8074
  user-select: none;
7549
8075
  }
7550
8076
  .switch-card:hover {
7551
8077
  border-color: var(--text-muted);
8078
+ transform: translateY(-1px);
7552
8079
  }
7553
8080
  .switch-card-header {
7554
8081
  display: flex;
@@ -7627,22 +8154,38 @@
7627
8154
  display: flex;
7628
8155
  justify-content: space-between;
7629
8156
  align-items: center;
7630
- padding: 10px 12px;
7631
- background: var(--bg-secondary);
7632
- border-radius: 8px;
7633
- margin-bottom: 8px;
8157
+ gap: 12px;
8158
+ padding: 12px 14px;
8159
+ background: rgba(255, 255, 255, 0.52);
8160
+ border: 1px solid var(--border-subtle);
8161
+ border-radius: 12px;
8162
+ margin-bottom: 10px;
7634
8163
  font-size: 0.8125rem;
7635
8164
  }
7636
8165
 
7637
8166
  .preset-label {
7638
- font-weight: 500;
8167
+ font-weight: 600;
7639
8168
  color: var(--text-primary);
7640
8169
  }
7641
8170
 
7642
8171
  .preset-detail {
8172
+ min-width: 0;
8173
+ text-align: right;
7643
8174
  color: var(--text-secondary);
7644
8175
  font-family: var(--font-mono);
7645
8176
  font-size: 0.75rem;
8177
+ word-break: break-word;
8178
+ }
8179
+
8180
+ @media (max-width: 640px) {
8181
+ .preset-item {
8182
+ flex-direction: column;
8183
+ align-items: flex-start;
8184
+ }
8185
+
8186
+ .preset-detail {
8187
+ text-align: left;
8188
+ }
7646
8189
  }
7647
8190
 
7648
8191
  .file-preview-modal {