Lashtw commited on
Commit
edc68ba
·
verified ·
1 Parent(s): 4bba76c

Upload game.css

Browse files
Files changed (1) hide show
  1. css/game.css +333 -8
css/game.css CHANGED
@@ -2372,23 +2372,24 @@ html[data-theme="dark"] .r-card { background: var(--bg-2); }
2372
  margin-bottom: 8px;
2373
  }
2374
 
2375
- /* 乾淨 1. 2. 3. 規則清單 */
2376
  .me-rules-ol {
2377
  margin: 0;
2378
- padding-left: 20px;
2379
- font-size: 13.5px;
2380
- line-height: 1.75;
2381
  color: #334155;
2382
- font-weight: 600;
2383
  }
2384
 
2385
  .me-rules-ol li {
2386
- margin-bottom: 6px;
2387
  }
2388
 
2389
  .me-rules-ol b {
2390
- color: #1e293b;
2391
- font-weight: 800;
 
2392
  }
2393
 
2394
  .me-rules-ol .highlight-badge {
@@ -3272,3 +3273,327 @@ html[data-theme="dark"] .r-card { background: var(--bg-2); }
3272
  min-width: auto;
3273
  }
3274
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2372
  margin-bottom: 8px;
2373
  }
2374
 
2375
+ /* 乾淨 1. 2. 3. 規則清單(加大字體,清晰易讀) */
2376
  .me-rules-ol {
2377
  margin: 0;
2378
+ padding-left: 24px;
2379
+ font-size: 16px;
2380
+ line-height: 1.85;
2381
  color: #334155;
2382
+ font-weight: 700;
2383
  }
2384
 
2385
  .me-rules-ol li {
2386
+ margin-bottom: 8px;
2387
  }
2388
 
2389
  .me-rules-ol b {
2390
+ color: #0f172a;
2391
+ font-weight: 900;
2392
+ font-size: 16.5px;
2393
  }
2394
 
2395
  .me-rules-ol .highlight-badge {
 
3273
  min-width: auto;
3274
  }
3275
  }
3276
+
3277
+ /* 商隊等級表彈窗 (modal-caravan-levels) */
3278
+ .modal-caravan-levels {
3279
+ background: #ffffff !important;
3280
+ color: #1e293b !important;
3281
+ border-radius: 24px !important;
3282
+ padding: 0 !important;
3283
+ max-width: 820px !important;
3284
+ width: 94vw !important;
3285
+ max-height: 86vh !important;
3286
+ border: 1.5px solid #ece4d2 !important;
3287
+ box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25) !important;
3288
+ overflow: hidden !important;
3289
+ }
3290
+
3291
+ .caravan-levels-container {
3292
+ display: flex;
3293
+ flex-direction: column;
3294
+ max-height: 86vh;
3295
+ }
3296
+
3297
+ .caravan-levels-header {
3298
+ padding: 20px 24px 16px;
3299
+ background: linear-gradient(180deg, #fffcf5 0%, #ffffff 100%);
3300
+ border-bottom: 1.5px solid #f1e9d9;
3301
+ flex-shrink: 0;
3302
+ }
3303
+
3304
+ .caravan-levels-title-row {
3305
+ display: flex;
3306
+ align-items: center;
3307
+ gap: 12px;
3308
+ margin-bottom: 6px;
3309
+ }
3310
+
3311
+ .caravan-levels-badge {
3312
+ background: #fef3c7;
3313
+ border: 1px solid #fde68a;
3314
+ color: #92400e;
3315
+ font-size: 12px;
3316
+ font-weight: 800;
3317
+ padding: 3px 10px;
3318
+ border-radius: 99px;
3319
+ }
3320
+
3321
+ .caravan-levels-title {
3322
+ margin: 0;
3323
+ font-size: 20px;
3324
+ font-weight: 900;
3325
+ color: #0f172a;
3326
+ }
3327
+
3328
+ .caravan-levels-sub {
3329
+ font-size: 13.5px;
3330
+ color: #64748b;
3331
+ margin-bottom: 12px;
3332
+ }
3333
+
3334
+ .caravan-cur-status-box {
3335
+ background: #f8fafc;
3336
+ border: 1.5px solid #e2e8f0;
3337
+ border-radius: 14px;
3338
+ padding: 12px 16px;
3339
+ display: flex;
3340
+ flex-direction: column;
3341
+ gap: 8px;
3342
+ }
3343
+
3344
+ .caravan-cur-row {
3345
+ display: flex;
3346
+ justify-content: space-between;
3347
+ align-items: center;
3348
+ font-size: 14.5px;
3349
+ font-weight: 700;
3350
+ flex-wrap: wrap;
3351
+ gap: 8px;
3352
+ }
3353
+
3354
+ .caravan-cur-label {
3355
+ color: #64748b;
3356
+ }
3357
+
3358
+ .caravan-cur-val {
3359
+ color: #b45309;
3360
+ font-weight: 900;
3361
+ }
3362
+
3363
+ .caravan-cur-exp {
3364
+ color: #10b981;
3365
+ font-weight: 900;
3366
+ font-size: 16px;
3367
+ }
3368
+
3369
+ .caravan-lvl-progress-wrap {
3370
+ width: 100%;
3371
+ height: 8px;
3372
+ background: #e2e8f0;
3373
+ border-radius: 99px;
3374
+ overflow: hidden;
3375
+ }
3376
+
3377
+ .caravan-lvl-progress-bar {
3378
+ height: 100%;
3379
+ background: linear-gradient(90deg, #f59e0b, #10b981);
3380
+ border-radius: 99px;
3381
+ transition: width 0.3s ease;
3382
+ }
3383
+
3384
+ .caravan-lvl-hint {
3385
+ font-size: 12.5px;
3386
+ color: #475569;
3387
+ text-align: right;
3388
+ font-weight: 600;
3389
+ }
3390
+
3391
+ .caravan-lvl-hint b {
3392
+ color: #b45309;
3393
+ }
3394
+
3395
+ .caravan-levels-list {
3396
+ padding: 16px 24px;
3397
+ overflow-y: auto;
3398
+ display: flex;
3399
+ flex-direction: column;
3400
+ gap: 10px;
3401
+ background: #f8fafc;
3402
+ flex: 1;
3403
+ }
3404
+
3405
+ .caravan-lvl-card {
3406
+ background: #ffffff;
3407
+ border: 1.5px solid #e2e8f0;
3408
+ border-radius: 16px;
3409
+ padding: 14px 18px;
3410
+ display: grid;
3411
+ grid-template-columns: 180px 1fr auto;
3412
+ gap: 16px;
3413
+ align-items: center;
3414
+ transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
3415
+ }
3416
+
3417
+ .caravan-lvl-card:hover {
3418
+ transform: translateY(-2px);
3419
+ box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
3420
+ }
3421
+
3422
+ .caravan-lvl-card.is-current {
3423
+ border-color: #f59e0b;
3424
+ background: #fffdf5;
3425
+ box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
3426
+ }
3427
+
3428
+ .caravan-lvl-card.is-reached {
3429
+ border-color: #cbd5e1;
3430
+ }
3431
+
3432
+ .caravan-lvl-card.is-locked {
3433
+ opacity: 0.88;
3434
+ background: #fafafa;
3435
+ }
3436
+
3437
+ .caravan-lvl-left {
3438
+ display: flex;
3439
+ align-items: center;
3440
+ gap: 12px;
3441
+ }
3442
+
3443
+ .caravan-lvl-num-badge {
3444
+ width: 44px;
3445
+ height: 44px;
3446
+ border-radius: 12px;
3447
+ background: #f1f5f9;
3448
+ border: 1.5px solid #cbd5e1;
3449
+ color: #334155;
3450
+ display: flex;
3451
+ align-items: center;
3452
+ justify-content: center;
3453
+ font-size: 15px;
3454
+ font-weight: 900;
3455
+ flex-shrink: 0;
3456
+ }
3457
+
3458
+ .caravan-lvl-card.is-current .caravan-lvl-num-badge {
3459
+ background: #fef3c7;
3460
+ border-color: #f59e0b;
3461
+ color: #92400e;
3462
+ }
3463
+
3464
+ .caravan-lvl-info {
3465
+ display: flex;
3466
+ flex-direction: column;
3467
+ gap: 3px;
3468
+ }
3469
+
3470
+ .caravan-lvl-name {
3471
+ font-size: 16px;
3472
+ font-weight: 900;
3473
+ color: #0f172a;
3474
+ }
3475
+
3476
+ .caravan-lvl-need {
3477
+ font-size: 13px;
3478
+ color: #64748b;
3479
+ }
3480
+
3481
+ .caravan-lvl-need b {
3482
+ color: #b45309;
3483
+ }
3484
+
3485
+ .caravan-lvl-middle {
3486
+ display: flex;
3487
+ flex-direction: column;
3488
+ gap: 4px;
3489
+ }
3490
+
3491
+ .caravan-lvl-perk-label {
3492
+ font-size: 11.5px;
3493
+ font-weight: 800;
3494
+ color: #64748b;
3495
+ }
3496
+
3497
+ .caravan-lvl-desc {
3498
+ font-size: 13.5px;
3499
+ color: #334155;
3500
+ line-height: 1.45;
3501
+ }
3502
+
3503
+ .caravan-lvl-right {
3504
+ display: flex;
3505
+ justify-content: flex-end;
3506
+ align-items: center;
3507
+ }
3508
+
3509
+ .lvl-status-badge {
3510
+ font-size: 12px;
3511
+ font-weight: 800;
3512
+ padding: 4px 10px;
3513
+ border-radius: 99px;
3514
+ white-space: nowrap;
3515
+ }
3516
+
3517
+ .lvl-status-badge.badge-current {
3518
+ background: #fef3c7;
3519
+ color: #b45309;
3520
+ border: 1px solid #fde68a;
3521
+ }
3522
+
3523
+ .lvl-status-badge.badge-unlocked {
3524
+ background: #ecfdf5;
3525
+ color: #047857;
3526
+ border: 1px solid #a7f3d0;
3527
+ }
3528
+
3529
+ .lvl-status-badge.badge-locked {
3530
+ background: #f1f5f9;
3531
+ color: #64748b;
3532
+ border: 1px solid #cbd5e1;
3533
+ }
3534
+
3535
+ .caravan-levels-footer {
3536
+ padding: 14px 24px;
3537
+ background: #ffffff;
3538
+ border-top: 1.5px solid #f1e9d9;
3539
+ display: flex;
3540
+ justify-content: flex-end;
3541
+ flex-shrink: 0;
3542
+ }
3543
+
3544
+ .caravan-levels-close-btn {
3545
+ min-height: 44px;
3546
+ padding: 0 22px;
3547
+ background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
3548
+ color: #ffffff;
3549
+ border: none;
3550
+ border-radius: 12px;
3551
+ font-size: 15px;
3552
+ font-weight: 800;
3553
+ cursor: pointer;
3554
+ box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
3555
+ transition: transform 0.15s, box-shadow 0.15s;
3556
+ }
3557
+
3558
+ .caravan-levels-close-btn:hover {
3559
+ transform: translateY(-2px);
3560
+ box-shadow: 0 6px 18px rgba(217, 119, 6, 0.45);
3561
+ }
3562
+
3563
+ .me-btn-view-levels {
3564
+ background: #fef3c7;
3565
+ border: 1px solid #fde68a;
3566
+ color: #92400e;
3567
+ padding: 4px 12px;
3568
+ border-radius: 99px;
3569
+ font-size: 12.5px;
3570
+ font-weight: 800;
3571
+ cursor: pointer;
3572
+ box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
3573
+ transition: background 0.15s, transform 0.15s;
3574
+ }
3575
+
3576
+ .me-btn-view-levels:hover {
3577
+ background: #fde047;
3578
+ transform: scale(1.04);
3579
+ }
3580
+
3581
+ .me-pill-btn, .mq-pill-btn {
3582
+ cursor: pointer;
3583
+ border: none;
3584
+ font-family: inherit;
3585
+ transition: transform 0.15s, box-shadow 0.15s;
3586
+ }
3587
+
3588
+ .me-pill-btn:hover, .mq-pill-btn:hover {
3589
+ transform: scale(1.04);
3590
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
3591
+ }
3592
+
3593
+ @media (max-width: 640px) {
3594
+ .caravan-lvl-card {
3595
+ grid-template-columns: 1fr;
3596
+ gap: 8px;
3597
+ }
3598
+ }
3599
+