Lashtw commited on
Commit
20e95bf
·
verified ·
1 Parent(s): 85d74b8

Upload 1571 files

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +11 -0
  2. assets/building_b1.jpg +3 -0
  3. assets/building_b2.jpg +3 -0
  4. assets/building_b3.jpg +3 -0
  5. assets/building_b4.jpg +3 -0
  6. assets/building_b5.jpg +3 -0
  7. assets/building_b6.jpg +3 -0
  8. assets/building_b7.jpg +3 -0
  9. assets/building_b8.jpg +3 -0
  10. css/base.css +66 -31
  11. css/game.css +104 -44
  12. data/banks/img/social/image001.gif +0 -0
  13. data/banks/img/social/image002.gif +0 -0
  14. data/banks/img/social/image003.gif +0 -0
  15. data/banks/img/social/image004.gif +0 -0
  16. data/banks/img/social/image005.jpg +0 -0
  17. data/banks/img/social/image006.jpg +0 -0
  18. data/banks/img/social/image007.gif +0 -0
  19. data/banks/img/social/image008.jpg +0 -0
  20. data/banks/img/social/image009.jpg +0 -0
  21. data/banks/img/social/image010.gif +0 -0
  22. data/banks/img/social/image011.gif +0 -0
  23. data/banks/img/social/image012.gif +0 -0
  24. data/banks/img/social/image013.jpg +0 -0
  25. data/banks/img/social/image014.gif +0 -0
  26. data/banks/img/social/image015.gif +0 -0
  27. data/banks/img/social/image016.gif +0 -0
  28. data/banks/img/social/image017.gif +0 -0
  29. data/banks/img/social/image018.jpg +0 -0
  30. data/banks/img/social/image019.gif +0 -0
  31. data/banks/img/social/image020.gif +0 -0
  32. data/banks/img/social/image021.jpg +0 -0
  33. data/banks/img/social/image022.gif +0 -0
  34. data/banks/img/social/image023.gif +0 -0
  35. data/banks/img/social/image024.gif +0 -0
  36. data/banks/img/social/image025.gif +0 -0
  37. data/banks/img/social/image026.jpg +0 -0
  38. data/banks/img/social/image027.jpg +0 -0
  39. data/banks/img/social/image028.gif +0 -0
  40. data/banks/img/social/image029.gif +0 -0
  41. data/banks/img/social/image030.gif +0 -0
  42. data/banks/img/social/image031.jpg +0 -0
  43. data/banks/img/social/image032.gif +0 -0
  44. data/banks/img/social/image033.gif +0 -0
  45. data/banks/img/social/image034.jpg +0 -0
  46. data/banks/img/social/image035.jpg +0 -0
  47. data/banks/img/social/image036.gif +0 -0
  48. data/banks/img/social/image037.gif +0 -0
  49. data/banks/img/social/image038.gif +0 -0
  50. data/banks/img/social/image039.gif +0 -0
.gitattributes CHANGED
@@ -41,3 +41,14 @@ assets/building_castle.jpg filter=lfs diff=lfs merge=lfs -text
41
  assets/icon_grain.jpg filter=lfs diff=lfs merge=lfs -text
42
  assets/icon_tally.jpg filter=lfs diff=lfs merge=lfs -text
43
  assets/map_chibi.jpg filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
41
  assets/icon_grain.jpg filter=lfs diff=lfs merge=lfs -text
42
  assets/icon_tally.jpg filter=lfs diff=lfs merge=lfs -text
43
  assets/map_chibi.jpg filter=lfs diff=lfs merge=lfs -text
44
+ 題庫/20261015_國中社會[[:space:]](1)/試卷-含題答案卷.docx filter=lfs diff=lfs merge=lfs -text
45
+ 題庫/20261015_國中社會/試卷-含題答案卷.docx filter=lfs diff=lfs merge=lfs -text
46
+ 題庫/社會會考題題庫.docx filter=lfs diff=lfs merge=lfs -text
47
+ assets/building_b1.jpg filter=lfs diff=lfs merge=lfs -text
48
+ assets/building_b2.jpg filter=lfs diff=lfs merge=lfs -text
49
+ assets/building_b3.jpg filter=lfs diff=lfs merge=lfs -text
50
+ assets/building_b4.jpg filter=lfs diff=lfs merge=lfs -text
51
+ assets/building_b5.jpg filter=lfs diff=lfs merge=lfs -text
52
+ assets/building_b6.jpg filter=lfs diff=lfs merge=lfs -text
53
+ assets/building_b7.jpg filter=lfs diff=lfs merge=lfs -text
54
+ assets/building_b8.jpg filter=lfs diff=lfs merge=lfs -text
assets/building_b1.jpg ADDED

Git LFS Details

  • SHA256: f822a3c2a9612eea245a180330fb76fd1704e9bab084465a253c9e5d70449750
  • Pointer size: 131 Bytes
  • Size of remote file: 575 kB
assets/building_b2.jpg ADDED

Git LFS Details

  • SHA256: e038c64b8d196e9793a0b70cd4c1e692882681c8a82c6cc54b279c9fd26a4c6e
  • Pointer size: 131 Bytes
  • Size of remote file: 619 kB
assets/building_b3.jpg ADDED

Git LFS Details

  • SHA256: 2a08c183cae38c8ad4d41c6b7b27138a9e49b5209b9758da03dc128c40caaa33
  • Pointer size: 131 Bytes
  • Size of remote file: 584 kB
assets/building_b4.jpg ADDED

Git LFS Details

  • SHA256: eccd3b52bac301cb183bff836744370f5df81eed8bc3b86485bee07ac917e4ef
  • Pointer size: 131 Bytes
  • Size of remote file: 666 kB
assets/building_b5.jpg ADDED

Git LFS Details

  • SHA256: 2886d399aa4517594ca7cfe8fae4a9efe57f4617d4a9f949736d9d8add1e4da1
  • Pointer size: 131 Bytes
  • Size of remote file: 537 kB
assets/building_b6.jpg ADDED

Git LFS Details

  • SHA256: 4661776d52230994a82214b2e3ac1fb86a0017a74cb349d16e65c279f8c959ef
  • Pointer size: 131 Bytes
  • Size of remote file: 652 kB
assets/building_b7.jpg ADDED

Git LFS Details

  • SHA256: f8354f0ab272cb285934d112174619b2b652e14ec43f88e757ec41402099a85b
  • Pointer size: 131 Bytes
  • Size of remote file: 630 kB
assets/building_b8.jpg ADDED

Git LFS Details

  • SHA256: ec2b26027e0aed77d60160b02bb3cb06ed8fe2110531e469f556d22d4ea1db44
  • Pointer size: 131 Bytes
  • Size of remote file: 483 kB
css/base.css CHANGED
@@ -1,7 +1,31 @@
1
  /* =============================================================
2
- 設計系統(陽春版:主題中性,之後換美術只需改變數)
3
  ============================================================= */
4
  :root {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  --bg-0: #0b0f1a;
6
  --bg-1: #111827;
7
  --bg-2: #172036;
@@ -18,11 +42,8 @@
18
  --rose: #fb7185;
19
  --amber: #fbbf24;
20
  --sky: #38bdf8;
21
- --radius: 14px;
22
- --radius-sm: 10px;
23
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
24
  --shadow-glow: 0 0 0 1px rgba(124, 140, 255, 0.35), 0 10px 30px -10px rgba(124, 140, 255, 0.45);
25
- --font: 'Inter', 'Noto Sans TC', system-ui, -apple-system, 'Microsoft JhengHei', sans-serif;
26
  }
27
 
28
  * { box-sizing: border-box; }
@@ -31,14 +52,20 @@ body {
31
  font-family: var(--font);
32
  color: var(--text);
33
  background:
34
- radial-gradient(1200px 600px at 10% -10%, rgba(124, 140, 255, 0.16), transparent 60%),
35
- radial-gradient(900px 500px at 110% 10%, rgba(167, 139, 250, 0.12), transparent 60%),
36
  var(--bg-0);
37
  min-height: 100vh;
38
  font-size: 15px;
39
  line-height: 1.55;
40
  -webkit-font-smoothing: antialiased;
41
  }
 
 
 
 
 
 
42
  button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
43
  a { color: var(--accent); }
44
  img { max-width: 100%; }
@@ -59,15 +86,17 @@ img { max-width: 100%; }
59
  font-weight: 600; cursor: pointer; user-select: none;
60
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, opacity .2s;
61
  }
62
- .btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: var(--shadow); background: #26345a; }
 
63
  .btn:active:not(:disabled) { transform: translateY(0) scale(.97); }
64
  .btn:disabled { opacity: .45; cursor: not-allowed; }
65
  .btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; color: #fff; }
66
- .btn-primary:hover:not(:disabled) { background: linear-gradient(135deg, #8b99ff, #b69cff); box-shadow: var(--shadow-glow); }
67
- .btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #2a1a00; border-color: transparent; }
68
- .btn-gold:hover:not(:disabled) { background: linear-gradient(135deg, #ffd56e, #fbad2a); box-shadow: 0 10px 30px -10px rgba(245, 196, 81, .6); }
69
- .btn-ghost { background: transparent; }
70
- .btn-danger { background: rgba(251, 113, 133, .12); border-color: rgba(251, 113, 133, .35); color: var(--rose); }
 
71
  .btn-sm { min-height: 34px; padding: 0 12px; font-size: 13px; }
72
  .btn.is-loading { position: relative; color: transparent !important; }
73
  .btn.is-loading::after {
@@ -81,55 +110,61 @@ img { max-width: 100%; }
81
  .field label { font-size: 13px; color: var(--text-dim); font-weight: 600; }
82
  .input, select.input, textarea.input {
83
  min-height: 44px; padding: 10px 14px; border-radius: var(--radius-sm);
84
- background: var(--bg-1); border: 1px solid var(--line); outline: none;
85
  transition: border-color .2s, box-shadow .2s;
86
  }
87
- .input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124, 140, 255, .2); }
88
  textarea.input { min-height: 120px; resize: vertical; font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
89
 
90
  /* ---------- 卡片 ---------- */
91
  .card {
92
- /* 效能:不使用 backdrop-filter(多張卡片疊加模糊會讓 GPU 每幀重算),改用較不透明背景 */
93
- background: linear-gradient(180deg, rgba(31, 42, 68, .92), rgba(23, 32, 54, .92));
94
  border: 1px solid var(--line); border-radius: var(--radius);
95
  padding: 18px; box-shadow: var(--shadow);
96
  }
97
- .card h2, .card h3 { margin: 0 0 10px; }
 
 
 
98
  .card h2 { font-size: 18px; }
99
  .card h3 { font-size: 15px; color: var(--text-dim); }
100
 
101
  .badge {
102
  display: inline-flex; align-items: center; gap: 4px;
103
  padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700;
104
- background: rgba(148, 163, 184, .14); color: var(--text-dim);
105
  }
106
- .badge-mint { background: rgba(52, 211, 153, .15); color: var(--mint); }
107
- .badge-gold { background: rgba(245, 196, 81, .15); color: var(--gold); }
108
- .badge-rose { background: rgba(251, 113, 133, .15); color: var(--rose); }
109
- .badge-accent { background: rgba(124, 140, 255, .18); color: var(--accent); }
110
- .badge-sky { background: rgba(56, 189, 248, .15); color: var(--sky); }
111
 
112
- .progress { height: 8px; border-radius: 99px; background: rgba(148, 163, 184, .15); overflow: hidden; }
113
  .progress > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .4s ease; }
114
- .progress.gold > i { background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
115
  .progress.mint > i { background: linear-gradient(90deg, #10b981, var(--mint)); }
116
 
117
  /* ---------- Toast ---------- */
118
  .toast-wrap { position: fixed; left: 50%; top: 16px; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 8px; pointer-events: none; width: min(92vw, 420px); }
119
  .toast {
120
- padding: 12px 16px; border-radius: 12px; background: var(--bg-3); border: 1px solid var(--line);
121
- box-shadow: var(--shadow); font-weight: 600; opacity: 0; transform: translateY(-8px); transition: all .25s ease;
122
  }
123
  .toast.show { opacity: 1; transform: translateY(0); }
124
- .toast-success { border-color: rgba(52, 211, 153, .5); background: linear-gradient(135deg, #0f2f28, #13332c); }
125
- .toast-error { border-color: rgba(251, 113, 133, .5); background: linear-gradient(135deg, #3a1520, #2e1119); }
126
- .toast-gold { border-color: rgba(245, 196, 81, .5); background: linear-gradient(135deg, #3a2a08, #2b1f06); }
 
 
 
127
 
128
  /* ---------- Modal ---------- */
129
  .modal-back {
130
  position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
131
- background: rgba(5, 8, 15, .86); opacity: 0; transition: opacity .2s; padding: 16px;
132
  }
 
133
  .modal-back.show { opacity: 1; }
134
 
135
  /* Modal(測驗)開啟時,暫停背景所有無限循環動畫,降低 GPU 負擔 */
 
1
  /* =============================================================
2
+ 設計系統:預設明亮雅致沙盤學院風格,支援一鍵切換深色模式
3
  ============================================================= */
4
  :root {
5
+ --bg-0: #f1f5f9;
6
+ --bg-1: #ffffff;
7
+ --bg-2: #f8fafc;
8
+ --bg-3: #e2e8f0;
9
+ --line: rgba(100, 116, 139, 0.16);
10
+ --text: #0f172a;
11
+ --text-dim: #475569;
12
+ --text-mute: #64748b;
13
+ --accent: #4f46e5;
14
+ --accent-2: #7c3aed;
15
+ --gold: #d97706;
16
+ --gold-2: #b45309;
17
+ --mint: #059669;
18
+ --rose: #e11d48;
19
+ --amber: #d97706;
20
+ --sky: #0284c7;
21
+ --radius: 14px;
22
+ --radius-sm: 10px;
23
+ --shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
24
+ --shadow-glow: 0 0 0 1px rgba(79, 70, 229, 0.25), 0 10px 25px -5px rgba(79, 70, 229, 0.35);
25
+ --font: 'Inter', 'Noto Sans TC', system-ui, -apple-system, 'Microsoft JhengHei', sans-serif;
26
+ }
27
+
28
+ html[data-theme="dark"] {
29
  --bg-0: #0b0f1a;
30
  --bg-1: #111827;
31
  --bg-2: #172036;
 
42
  --rose: #fb7185;
43
  --amber: #fbbf24;
44
  --sky: #38bdf8;
 
 
45
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
46
  --shadow-glow: 0 0 0 1px rgba(124, 140, 255, 0.35), 0 10px 30px -10px rgba(124, 140, 255, 0.45);
 
47
  }
48
 
49
  * { box-sizing: border-box; }
 
52
  font-family: var(--font);
53
  color: var(--text);
54
  background:
55
+ radial-gradient(1200px 600px at 10% -10%, rgba(79, 70, 229, 0.06), transparent 60%),
56
+ radial-gradient(900px 500px at 110% 10%, rgba(217, 119, 6, 0.06), transparent 60%),
57
  var(--bg-0);
58
  min-height: 100vh;
59
  font-size: 15px;
60
  line-height: 1.55;
61
  -webkit-font-smoothing: antialiased;
62
  }
63
+ html[data-theme="dark"] body {
64
+ background:
65
+ radial-gradient(1200px 600px at 10% -10%, rgba(124, 140, 255, 0.16), transparent 60%),
66
+ radial-gradient(900px 500px at 110% 10%, rgba(167, 139, 250, 0.12), transparent 60%),
67
+ var(--bg-0);
68
+ }
69
  button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
70
  a { color: var(--accent); }
71
  img { max-width: 100%; }
 
86
  font-weight: 600; cursor: pointer; user-select: none;
87
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, opacity .2s;
88
  }
89
+ .btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: var(--shadow); background: var(--bg-2); }
90
+ html[data-theme="dark"] .btn:hover:not(:disabled) { background: #26345a; }
91
  .btn:active:not(:disabled) { transform: translateY(0) scale(.97); }
92
  .btn:disabled { opacity: .45; cursor: not-allowed; }
93
  .btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; color: #fff; }
94
+ .btn-primary:hover:not(:disabled) { background: linear-gradient(135deg, #6366f1, #8b5cf6); box-shadow: var(--shadow-glow); }
95
+ .btn-gold { background: linear-gradient(135deg, #fbbf24, #d97706); color: #1e1302; border-color: transparent; font-weight: 800; }
96
+ .btn-gold:hover:not(:disabled) { background: linear-gradient(135deg, #fcd34d, #b45309); box-shadow: 0 8px 24px -4px rgba(217, 119, 6, 0.45); }
97
+ .btn-ghost { background: transparent; border-color: transparent; }
98
+ .btn-ghost:hover:not(:disabled) { background: var(--bg-3); border-color: var(--line); }
99
+ .btn-danger { background: rgba(225, 29, 72, .12); border-color: rgba(225, 29, 72, .35); color: var(--rose); }
100
  .btn-sm { min-height: 34px; padding: 0 12px; font-size: 13px; }
101
  .btn.is-loading { position: relative; color: transparent !important; }
102
  .btn.is-loading::after {
 
110
  .field label { font-size: 13px; color: var(--text-dim); font-weight: 600; }
111
  .input, select.input, textarea.input {
112
  min-height: 44px; padding: 10px 14px; border-radius: var(--radius-sm);
113
+ background: var(--bg-1); border: 1px solid var(--line); outline: none; color: var(--text);
114
  transition: border-color .2s, box-shadow .2s;
115
  }
116
+ .input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79, 70, 229, .2); }
117
  textarea.input { min-height: 120px; resize: vertical; font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
118
 
119
  /* ---------- 卡片 ---------- */
120
  .card {
121
+ background: var(--bg-1);
 
122
  border: 1px solid var(--line); border-radius: var(--radius);
123
  padding: 18px; box-shadow: var(--shadow);
124
  }
125
+ html[data-theme="dark"] .card {
126
+ background: linear-gradient(180deg, rgba(31, 42, 68, .92), rgba(23, 32, 54, .92));
127
+ }
128
+ .card h2, .card h3 { margin: 0 0 10px; color: var(--text); }
129
  .card h2 { font-size: 18px; }
130
  .card h3 { font-size: 15px; color: var(--text-dim); }
131
 
132
  .badge {
133
  display: inline-flex; align-items: center; gap: 4px;
134
  padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700;
135
+ background: rgba(100, 116, 139, .12); color: var(--text-dim);
136
  }
137
+ .badge-mint { background: rgba(5, 150, 105, .14); color: var(--mint); }
138
+ .badge-gold { background: rgba(217, 119, 6, .14); color: var(--gold); }
139
+ .badge-rose { background: rgba(225, 29, 72, .14); color: var(--rose); }
140
+ .badge-accent { background: rgba(79, 70, 229, .15); color: var(--accent); }
141
+ .badge-sky { background: rgba(2, 132, 199, .14); color: var(--sky); }
142
 
143
+ .progress { height: 8px; border-radius: 99px; background: rgba(100, 116, 139, .15); overflow: hidden; }
144
  .progress > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .4s ease; }
145
+ .progress.gold > i { background: linear-gradient(90deg, #f59e0b, #d97706); }
146
  .progress.mint > i { background: linear-gradient(90deg, #10b981, var(--mint)); }
147
 
148
  /* ---------- Toast ---------- */
149
  .toast-wrap { position: fixed; left: 50%; top: 16px; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 8px; pointer-events: none; width: min(92vw, 420px); }
150
  .toast {
151
+ padding: 12px 16px; border-radius: 12px; background: var(--bg-1); border: 1px solid var(--line);
152
+ box-shadow: 0 10px 25px -5px rgba(0,0,0,0.15); font-weight: 600; opacity: 0; transform: translateY(-8px); transition: all .25s ease; color: var(--text);
153
  }
154
  .toast.show { opacity: 1; transform: translateY(0); }
155
+ .toast-success { border-color: rgba(5, 150, 105, .4); background: #ecfdf5; color: #065f46; }
156
+ .toast-error { border-color: rgba(225, 29, 72, .4); background: #fff1f2; color: #9f1239; }
157
+ .toast-gold { border-color: rgba(217, 119, 6, .4); background: #fef3c7; color: #92400e; }
158
+ html[data-theme="dark"] .toast-success { border-color: rgba(52, 211, 153, .5); background: linear-gradient(135deg, #0f2f28, #13332c); color: #e6ebf5; }
159
+ html[data-theme="dark"] .toast-error { border-color: rgba(251, 113, 133, .5); background: linear-gradient(135deg, #3a1520, #2e1119); color: #e6ebf5; }
160
+ html[data-theme="dark"] .toast-gold { border-color: rgba(245, 196, 81, .5); background: linear-gradient(135deg, #3a2a08, #2b1f06); color: #e6ebf5; }
161
 
162
  /* ---------- Modal ---------- */
163
  .modal-back {
164
  position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
165
+ background: rgba(15, 23, 42, .6); opacity: 0; transition: opacity .2s; padding: 16px;
166
  }
167
+ html[data-theme="dark"] .modal-back { background: rgba(5, 8, 15, .86); }
168
  .modal-back.show { opacity: 1; }
169
 
170
  /* Modal(測驗)開啟時,暫停背景所有無限循環動畫,降低 GPU 負擔 */
css/game.css CHANGED
@@ -14,6 +14,8 @@
14
  .login-card { width: min(420px, 100%); padding: 30px 26px; text-align: left; }
15
  .login-logo { font-size: 46px; text-align: center; animation: float 3s ease-in-out infinite; }
16
  .login-title { text-align: center; margin: 6px 0 2px; font-size: 26px; font-weight: 900; letter-spacing: .5px;
 
 
17
  background: linear-gradient(135deg, #fff, #c7cfff 60%, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
18
  .login-sub { text-align: center; margin: 0 0 18px; }
19
  @keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@@ -21,12 +23,14 @@
21
  /* 頂部資源列 */
22
  .topbar {
23
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 14px; justify-content: space-between;
24
- padding: 12px 20px; background: rgba(11, 15, 26, .95); border-bottom: 1px solid var(--line);
 
25
  }
 
26
  .mode-banner:not(.hidden) ~ #viewApp .topbar { top: 35px; }
27
  .res-group { display: flex; gap: 10px; flex-wrap: wrap; }
28
  .res { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); min-width: 120px; }
29
- .res-thumb { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; box-shadow: 0 2px 8px rgba(0,0,0,.5); border: 1px solid rgba(245,196,81,.3); }
30
  .res-icon { font-size: 22px; }
31
  .res-val { font-size: 20px; font-weight: 800; line-height: 1.1; }
32
  .res-sub { font-size: 12px; color: var(--text-dim); }
@@ -36,10 +40,11 @@
36
  .res.bump { animation: bump .35s ease; }
37
  @keyframes bump { 40% { transform: scale(1.08); } }
38
  .user-box { display: flex; align-items: center; gap: 10px; }
39
- .user-name { font-weight: 700; }
40
 
41
  /* 戰略沙盤大地圖 */
42
- .map-card { padding: 16px; margin-bottom: 18px; border-color: rgba(245,196,81,.25); background: linear-gradient(180deg, rgba(23,32,54,.9), rgba(15,22,39,.95)); }
 
43
  .map-header { justify-content: space-between; align-items: center; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
44
  .map-title-box { display: flex; flex-direction: column; gap: 2px; }
45
  .map-sub { font-size: 12px; }
@@ -52,7 +57,7 @@
52
 
53
  .territory-map-wrap {
54
  position: relative; width: 100%; border-radius: 16px; overflow: hidden;
55
- box-shadow: 0 10px 30px -10px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.08);
56
  aspect-ratio: 16 / 9; max-height: 440px; background: #1a2233;
57
  }
58
  .territory-map { position: relative; width: 100%; height: 100%; }
@@ -66,29 +71,35 @@
66
  }
67
  .map-spot:hover { transform: translate(-50%, -55%) scale(1.1); z-index: 20; }
68
  .spot-node {
69
- position: relative; width: 48px; height: 48px; border-radius: 50%;
70
- display: flex; align-items: center; justify-content: center; font-size: 24px;
71
- background: rgba(15,23,42,.9);
72
- border: 2px solid rgba(255,255,255,.2); box-shadow: 0 6px 16px rgba(0,0,0,.6);
73
  transition: all .25s ease;
74
  }
 
 
 
75
  .spot-label {
76
  padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 800;
77
- background: rgba(11,15,26,.88); border: 1px solid rgba(255,255,255,.15);
78
- color: #fff; white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,.5);
79
  }
 
80
 
81
  /* 據點三種狀態 */
82
- .map-spot.locked .spot-node { opacity: .45; filter: grayscale(1); border-color: #64748b; }
 
83
  .map-spot.locked .spot-label { opacity: .6; }
84
 
85
  .map-spot.ready .spot-node {
86
- border-color: var(--gold); background: rgba(245,196,81,.2);
87
  }
 
88
  /* 效能:光圈只動 transform / opacity(GPU 合成),不每幀重繪 box-shadow */
89
  .map-spot.ready .spot-node::after {
90
- content: ''; position: absolute; inset: -2px; border-radius: 50%;
91
- border: 2px solid rgba(245,196,81,.7); pointer-events: none;
92
  animation: spotPulse 1.6s infinite ease-out;
93
  }
94
  .map-spot.ready .spot-label { border-color: var(--gold); color: var(--gold); }
@@ -99,21 +110,19 @@
99
 
100
  .map-spot.active .spot-node {
101
  border-color: #10b981;
102
- background: radial-gradient(circle at 35% 35%, rgba(16,185,129,.35), rgba(15,23,42,.9));
103
- box-shadow: 0 0 16px rgba(16,185,129,.4), 0 6px 16px rgba(0,0,0,.6);
104
  }
105
  .map-spot.active.evolved .spot-node {
106
  border-color: var(--accent-2);
107
- background: radial-gradient(circle at 35% 35%, rgba(167,139,250,.4), rgba(15,23,42,.9));
108
- box-shadow: 0 0 20px rgba(167,139,250,.6);
109
  }
110
  .spot-flag {
111
- position: absolute; top: -6px; right: -6px; font-size: 14px;
 
112
  animation: flagWave 2s infinite ease-in-out alternate;
113
  }
114
  @keyframes flagWave { 0% { transform: rotate(-5deg); } 100% { transform: rotate(10deg); } }
115
 
116
-
117
  /* 分頁 */
118
  .tabs { display: flex; gap: 6px; padding: 12px 20px 0; max-width: 1200px; margin: 0 auto; }
119
  .tab {
@@ -122,12 +131,12 @@
122
  font-weight: 700; cursor: pointer; transition: all .2s;
123
  }
124
  .tab:hover { color: var(--text); background: var(--bg-2); transform: translateY(-1px); }
125
- .tab.active { color: #fff; background: linear-gradient(135deg, rgba(124,140,255,.3), rgba(167,139,250,.25)); border-color: rgba(124,140,255,.5); }
126
  .tab .dot { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 8px var(--rose); }
127
  .tab .count { font-style: normal; font-size: 11px; background: var(--rose); color: #fff; border-radius: 99px; padding: 0 7px; line-height: 18px; }
128
 
129
  .main { max-width: 1200px; margin: 0 auto; padding: 16px 20px 100px; }
130
- .pane-title { margin: 0; font-size: 18px; }
131
  .pane { animation: fadeUp .25s ease; }
132
  @keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
133
 
@@ -137,46 +146,74 @@
137
  .work-card { position: relative; overflow: hidden; display: flex; justify-content: center; padding: 22px; }
138
  .work-btn {
139
  width: 180px; height: 180px; border-radius: 50%; border: 0; cursor: pointer; color: #2a1a00;
140
- background: radial-gradient(circle at 35% 30%, #ffe08a, var(--gold) 45%, var(--gold-2));
141
- box-shadow: 0 0 0 6px rgba(245,196,81,.15), 0 18px 40px -12px rgba(245,158,11,.7), inset 0 -8px 20px rgba(0,0,0,.18);
142
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
143
  transition: transform .08s ease, box-shadow .2s;
144
  -webkit-tap-highlight-color: transparent;
145
  }
146
- .work-btn:hover { transform: scale(1.04); box-shadow: 0 0 0 10px rgba(245,196,81,.18), 0 22px 50px -12px rgba(245,158,11,.8), inset 0 -8px 20px rgba(0,0,0,.18); }
147
  .work-btn:active { transform: scale(.94); }
148
  .work-emoji { font-size: 44px; }
149
  .work-label { font-weight: 900; font-size: 18px; }
150
- .work-val { font-weight: 700; font-size: 13px; opacity: .8; }
151
  .float-layer { position: absolute; inset: 0; pointer-events: none; }
152
- .float-num { position: absolute; font-weight: 900; color: var(--gold); text-shadow: 0 2px 8px rgba(0,0,0,.6); animation: floatUp .9s ease-out forwards; }
 
153
  @keyframes floatUp { from { opacity: 1; transform: translate(-50%, 0); } to { opacity: 0; transform: translate(-50%, -70px); } }
154
 
155
  .kv { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
156
  .kv li { display: flex; justify-content: space-between; gap: 8px; }
157
  .kv li span:first-child { color: var(--text-dim); }
158
- .hint-card { border-color: rgba(124,140,255,.35); font-size: 14px; }
159
  .hint-card b { color: var(--accent); }
160
 
161
  .build-head { justify-content: space-between; margin-bottom: 12px; }
162
- .seg { display: inline-flex; background: var(--bg-1); border: 1px solid var(--line); border-radius: 12px; padding: 3px; }
163
  .seg button { min-height: 38px; min-width: 56px; border: 0; background: transparent; color: var(--text-dim); font-weight: 700; border-radius: 9px; cursor: pointer; transition: all .15s; }
164
  .seg button:hover { color: var(--text); }
165
- .seg button.active { background: var(--bg-3); color: #fff; box-shadow: var(--shadow); }
166
 
167
  .b-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
168
  .b-card {
169
  position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 14px;
170
  border-radius: var(--radius); border: 1px solid var(--line);
171
- background: linear-gradient(180deg, rgba(31,42,68,.8), rgba(23,32,54,.8));
172
  transition: transform .15s ease, box-shadow .2s, border-color .2s;
173
  }
174
- .b-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(124,140,255,.35); }
175
- .b-card.evolved { border-color: rgba(167,139,250,.6); box-shadow: 0 0 0 1px rgba(167,139,250,.25), 0 10px 30px -15px rgba(167,139,250,.6); }
 
176
  .b-card.locked { opacity: .55; filter: grayscale(.6); }
177
  .b-card.locked:hover { transform: none; }
178
- .b-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 30px; background: var(--bg-1); border: 1px solid var(--line); }
179
- .b-name { font-weight: 800; font-size: 16px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
180
  .b-meta { font-size: 13px; color: var(--text-dim); }
181
  .b-stars { color: var(--gold); letter-spacing: 1px; font-size: 13px; }
182
  .b-actions { grid-column: 1 / -1; display: flex; gap: 8px; }
@@ -185,26 +222,47 @@
185
  .b-ms { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-mute); }
186
  .b-ms .progress { flex: 1; height: 6px; }
187
  .b-card.pulse { animation: pulse .4s ease; }
188
- @keyframes pulse { 30% { transform: scale(1.025); box-shadow: 0 0 0 2px rgba(245,196,81,.5); } }
189
 
190
  /* 測驗 */
191
  .quiz-intro p { margin: 0 0 12px; }
192
  .tier-flow { display: flex; gap: 8px; flex-wrap: wrap; align-items: stretch; }
193
- .tier-step { flex: 1; min-width: 150px; padding: 10px 12px; border-radius: 12px; background: var(--bg-1); border: 1px solid var(--line); font-size: 13px; }
194
- .tier-step b { display: block; font-size: 14px; color: #fff; }
195
- .tier-step.on { border-color: rgba(52,211,153,.5); background: rgba(52,211,153,.07); }
196
  .tier-group { margin-top: 18px; }
197
  .tier-group > h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 16px; }
198
  .r-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
199
- .r-card { padding: 14px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); display: flex; flex-direction: column; gap: 8px; transition: transform .15s, box-shadow .2s, border-color .2s; }
 
200
  .r-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
201
- .r-card.passed { border-color: rgba(52,211,153,.45); }
202
- .r-card.today { border-color: rgba(245,196,81,.6); box-shadow: 0 0 0 1px rgba(245,196,81,.25); }
203
  .r-card.locked { opacity: .5; }
204
  .r-title { font-weight: 800; display: flex; justify-content: space-between; gap: 6px; align-items: center; }
205
  .r-sub { font-size: 12px; color: var(--text-dim); }
206
  .r-reward { font-size: 12px; color: var(--sky); }
207
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
208
  /* 測驗作答 */
209
  .qz-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding-right: 40px; }
210
  .qz-top .progress { flex: 1; }
@@ -281,8 +339,10 @@
281
  .user-box .mute { display: none; }
282
  .tabs {
283
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 45; padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
284
- background: rgba(11,15,26,.97); border-top: 1px solid var(--line); justify-content: space-around; gap: 4px;
 
285
  }
 
286
  .tab { flex: 1; flex-direction: column; gap: 0; padding: 4px; min-height: 52px; font-size: 18px; border: 0; }
287
  .tab span { font-size: 11px; }
288
  .main { padding: 12px 10px 100px; }
 
14
  .login-card { width: min(420px, 100%); padding: 30px 26px; text-align: left; }
15
  .login-logo { font-size: 46px; text-align: center; animation: float 3s ease-in-out infinite; }
16
  .login-title { text-align: center; margin: 6px 0 2px; font-size: 26px; font-weight: 900; letter-spacing: .5px;
17
+ background: linear-gradient(135deg, var(--text), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
18
+ html[data-theme="dark"] .login-title {
19
  background: linear-gradient(135deg, #fff, #c7cfff 60%, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
20
  .login-sub { text-align: center; margin: 0 0 18px; }
21
  @keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
 
23
  /* 頂部資源列 */
24
  .topbar {
25
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 14px; justify-content: space-between;
26
+ padding: 12px 20px; background: var(--bg-1); border-bottom: 1px solid var(--line);
27
+ box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
28
  }
29
+ html[data-theme="dark"] .topbar { background: rgba(11, 15, 26, .95); box-shadow: none; }
30
  .mode-banner:not(.hidden) ~ #viewApp .topbar { top: 35px; }
31
  .res-group { display: flex; gap: 10px; flex-wrap: wrap; }
32
  .res { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); min-width: 120px; }
33
+ .res-thumb { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; box-shadow: 0 2px 8px rgba(0,0,0,.15); border: 1px solid rgba(217,119,6,.35); }
34
  .res-icon { font-size: 22px; }
35
  .res-val { font-size: 20px; font-weight: 800; line-height: 1.1; }
36
  .res-sub { font-size: 12px; color: var(--text-dim); }
 
40
  .res.bump { animation: bump .35s ease; }
41
  @keyframes bump { 40% { transform: scale(1.08); } }
42
  .user-box { display: flex; align-items: center; gap: 10px; }
43
+ .user-name { font-weight: 700; color: var(--text); }
44
 
45
  /* 戰略沙盤大地圖 */
46
+ .map-card { padding: 16px; margin-bottom: 18px; border-color: rgba(217,119,6,.25); background: var(--bg-1); }
47
+ html[data-theme="dark"] .map-card { background: linear-gradient(180deg, rgba(23,32,54,.9), rgba(15,22,39,.95)); border-color: rgba(245,196,81,.25); }
48
  .map-header { justify-content: space-between; align-items: center; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
49
  .map-title-box { display: flex; flex-direction: column; gap: 2px; }
50
  .map-sub { font-size: 12px; }
 
57
 
58
  .territory-map-wrap {
59
  position: relative; width: 100%; border-radius: 16px; overflow: hidden;
60
+ box-shadow: 0 10px 30px -10px rgba(0,0,0,.25), inset 0 0 0 1px rgba(0,0,0,.08);
61
  aspect-ratio: 16 / 9; max-height: 440px; background: #1a2233;
62
  }
63
  .territory-map { position: relative; width: 100%; height: 100%; }
 
71
  }
72
  .map-spot:hover { transform: translate(-50%, -55%) scale(1.1); z-index: 20; }
73
  .spot-node {
74
+ position: relative; width: 54px; height: 54px; border-radius: 16px;
75
+ display: flex; align-items: center; justify-content: center;
76
+ background: var(--bg-1); overflow: hidden;
77
+ border: 2px solid var(--line); box-shadow: 0 6px 16px rgba(0,0,0,.15);
78
  transition: all .25s ease;
79
  }
80
+ html[data-theme="dark"] .spot-node { background: rgba(15,23,42,.9); border-color: rgba(255,255,255,.2); box-shadow: 0 6px 16px rgba(0,0,0,.6); }
81
+ .spot-img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 14px; transition: transform .25s ease, filter .25s; }
82
+ .map-spot:hover .spot-img { transform: scale(1.12); }
83
  .spot-label {
84
  padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 800;
85
+ background: var(--bg-1); border: 1px solid var(--line);
86
+ color: var(--text); white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,.1);
87
  }
88
+ html[data-theme="dark"] .spot-label { background: rgba(11,15,26,.88); border-color: rgba(255,255,255,.15); color: #fff; }
89
 
90
  /* 據點三種狀態 */
91
+ .map-spot.locked .spot-node { border-color: #64748b; }
92
+ .map-spot.locked .spot-img { opacity: .45; filter: grayscale(1) brightness(.65); }
93
  .map-spot.locked .spot-label { opacity: .6; }
94
 
95
  .map-spot.ready .spot-node {
96
+ border-color: var(--gold); background: rgba(217,119,6,.12);
97
  }
98
+ .map-spot.ready .spot-img { filter: saturate(1.2); }
99
  /* 效能:光圈只動 transform / opacity(GPU 合成),不每幀重繪 box-shadow */
100
  .map-spot.ready .spot-node::after {
101
+ content: ''; position: absolute; inset: -2px; border-radius: 16px;
102
+ border: 2px solid var(--gold); pointer-events: none;
103
  animation: spotPulse 1.6s infinite ease-out;
104
  }
105
  .map-spot.ready .spot-label { border-color: var(--gold); color: var(--gold); }
 
110
 
111
  .map-spot.active .spot-node {
112
  border-color: #10b981;
113
+ box-shadow: 0 0 16px rgba(16,185,129,.4), 0 6px 16px rgba(0,0,0,.15);
 
114
  }
115
  .map-spot.active.evolved .spot-node {
116
  border-color: var(--accent-2);
117
+ box-shadow: 0 0 20px rgba(124,58,237,.5);
 
118
  }
119
  .spot-flag {
120
+ position: absolute; top: -6px; right: -6px; font-size: 16px; z-index: 5;
121
+ filter: drop-shadow(0 2px 4px rgba(0,0,0,.3));
122
  animation: flagWave 2s infinite ease-in-out alternate;
123
  }
124
  @keyframes flagWave { 0% { transform: rotate(-5deg); } 100% { transform: rotate(10deg); } }
125
 
 
126
  /* 分頁 */
127
  .tabs { display: flex; gap: 6px; padding: 12px 20px 0; max-width: 1200px; margin: 0 auto; }
128
  .tab {
 
131
  font-weight: 700; cursor: pointer; transition: all .2s;
132
  }
133
  .tab:hover { color: var(--text); background: var(--bg-2); transform: translateY(-1px); }
134
+ .tab.active { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; box-shadow: var(--shadow); }
135
  .tab .dot { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 8px var(--rose); }
136
  .tab .count { font-style: normal; font-size: 11px; background: var(--rose); color: #fff; border-radius: 99px; padding: 0 7px; line-height: 18px; }
137
 
138
  .main { max-width: 1200px; margin: 0 auto; padding: 16px 20px 100px; }
139
+ .pane-title { margin: 0; font-size: 18px; color: var(--text); }
140
  .pane { animation: fadeUp .25s ease; }
141
  @keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
142
 
 
146
  .work-card { position: relative; overflow: hidden; display: flex; justify-content: center; padding: 22px; }
147
  .work-btn {
148
  width: 180px; height: 180px; border-radius: 50%; border: 0; cursor: pointer; color: #2a1a00;
149
+ background: radial-gradient(circle at 35% 30%, #fde68a, #f59e0b 45%, #d97706);
150
+ box-shadow: 0 0 0 6px rgba(217,119,6,.15), 0 16px 36px -10px rgba(217,119,6,.5), inset 0 -6px 14px rgba(0,0,0,.15);
151
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
152
  transition: transform .08s ease, box-shadow .2s;
153
  -webkit-tap-highlight-color: transparent;
154
  }
155
+ .work-btn:hover { transform: scale(1.04); box-shadow: 0 0 0 10px rgba(217,119,6,.2), 0 20px 45px -10px rgba(217,119,6,.6), inset 0 -6px 14px rgba(0,0,0,.15); }
156
  .work-btn:active { transform: scale(.94); }
157
  .work-emoji { font-size: 44px; }
158
  .work-label { font-weight: 900; font-size: 18px; }
159
+ .work-val { font-weight: 700; font-size: 13px; opacity: .85; }
160
  .float-layer { position: absolute; inset: 0; pointer-events: none; }
161
+ .float-num { position: absolute; font-weight: 900; color: var(--gold); text-shadow: 0 1px 4px rgba(255,255,255,.8); animation: floatUp .9s ease-out forwards; }
162
+ html[data-theme="dark"] .float-num { text-shadow: 0 2px 8px rgba(0,0,0,.6); }
163
  @keyframes floatUp { from { opacity: 1; transform: translate(-50%, 0); } to { opacity: 0; transform: translate(-50%, -70px); } }
164
 
165
  .kv { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
166
  .kv li { display: flex; justify-content: space-between; gap: 8px; }
167
  .kv li span:first-child { color: var(--text-dim); }
168
+ .hint-card { border-color: rgba(79,70,229,.35); font-size: 14px; }
169
  .hint-card b { color: var(--accent); }
170
 
171
  .build-head { justify-content: space-between; margin-bottom: 12px; }
172
+ .seg { display: inline-flex; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 3px; }
173
  .seg button { min-height: 38px; min-width: 56px; border: 0; background: transparent; color: var(--text-dim); font-weight: 700; border-radius: 9px; cursor: pointer; transition: all .15s; }
174
  .seg button:hover { color: var(--text); }
175
+ .seg button.active { background: var(--accent); color: #fff; box-shadow: var(--shadow); }
176
 
177
  .b-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
178
  .b-card {
179
  position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 14px;
180
  border-radius: var(--radius); border: 1px solid var(--line);
181
+ background: var(--bg-1);
182
  transition: transform .15s ease, box-shadow .2s, border-color .2s;
183
  }
184
+ html[data-theme="dark"] .b-card { background: linear-gradient(180deg, rgba(31,42,68,.8), rgba(23,32,54,.8)); }
185
+ .b-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(79,70,229,.35); }
186
+ .b-card.evolved { border-color: rgba(124,58,237,.5); box-shadow: 0 0 0 1px rgba(124,58,237,.25), 0 8px 24px -10px rgba(124,58,237,.4); }
187
  .b-card.locked { opacity: .55; filter: grayscale(.6); }
188
  .b-card.locked:hover { transform: none; }
189
+ .b-icon {
190
+ width: 62px; height: 62px; border-radius: 16px; overflow: hidden; padding: 0;
191
+ display: flex; align-items: center; justify-content: center;
192
+ background: var(--bg-2); border: 2px solid var(--line);
193
+ box-shadow: 0 4px 10px rgba(0,0,0,.08);
194
+ }
195
+ .b-thumb { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
196
+ .b-card:hover .b-thumb { transform: scale(1.08); }
197
+ .b-card.locked .b-thumb { opacity: .45; filter: grayscale(1) brightness(.65); }
198
+ .b-card.evolved .b-icon { border-color: var(--accent-2); box-shadow: 0 0 12px rgba(124,58,237,.35); }
199
+
200
+ .work-thumb {
201
+ width: 68px; height: 68px; object-fit: cover; border-radius: 50%;
202
+ box-shadow: 0 4px 14px rgba(0,0,0,.15); margin-bottom: 2px;
203
+ border: 2px solid rgba(255,255,255,.4);
204
+ transition: transform .1s ease;
205
+ }
206
+ .work-btn:hover .work-thumb { transform: scale(1.08); }
207
+ .work-btn:active .work-thumb { transform: scale(.92); }
208
+
209
+ .login-tally-img {
210
+ width: 90px; height: 90px; object-fit: cover; border-radius: 24px;
211
+ box-shadow: 0 10px 25px rgba(245,158,11,.35);
212
+ border: 3px solid rgba(245,158,11,.5);
213
+ margin: 0 auto 12px; display: block;
214
+ }
215
+
216
+ .b-name { font-weight: 800; font-size: 16px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--text); }
217
  .b-meta { font-size: 13px; color: var(--text-dim); }
218
  .b-stars { color: var(--gold); letter-spacing: 1px; font-size: 13px; }
219
  .b-actions { grid-column: 1 / -1; display: flex; gap: 8px; }
 
222
  .b-ms { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-mute); }
223
  .b-ms .progress { flex: 1; height: 6px; }
224
  .b-card.pulse { animation: pulse .4s ease; }
225
+ @keyframes pulse { 30% { transform: scale(1.025); box-shadow: 0 0 0 2px rgba(217,119,6,.5); } }
226
 
227
  /* 測驗 */
228
  .quiz-intro p { margin: 0 0 12px; }
229
  .tier-flow { display: flex; gap: 8px; flex-wrap: wrap; align-items: stretch; }
230
+ .tier-step { flex: 1; min-width: 150px; padding: 10px 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); font-size: 13px; }
231
+ .tier-step b { display: block; font-size: 14px; color: var(--text); }
232
+ .tier-step.on { border-color: rgba(5,150,105,.5); background: rgba(5,150,105,.08); }
233
  .tier-group { margin-top: 18px; }
234
  .tier-group > h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 16px; }
235
  .r-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
236
+ .r-card { padding: 14px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-1); display: flex; flex-direction: column; gap: 8px; transition: transform .15s, box-shadow .2s, border-color .2s; }
237
+ html[data-theme="dark"] .r-card { background: var(--bg-2); }
238
  .r-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
239
+ .r-card.passed { border-color: rgba(5,150,105,.45); }
240
+ .r-card.today { border-color: rgba(217,119,6,.6); box-shadow: 0 0 0 1px rgba(217,119,6,.25); }
241
  .r-card.locked { opacity: .5; }
242
  .r-title { font-weight: 800; display: flex; justify-content: space-between; gap: 6px; align-items: center; }
243
  .r-sub { font-size: 12px; color: var(--text-dim); }
244
  .r-reward { font-size: 12px; color: var(--sky); }
245
 
246
+ /* 排行榜專屬樣式 */
247
+ .row-me {
248
+ background: rgba(79, 70, 229, 0.08) !important;
249
+ font-weight: 700;
250
+ }
251
+ .rank-crown {
252
+ display: inline-flex;
253
+ align-items: center;
254
+ justify-content: center;
255
+ font-weight: 900;
256
+ font-size: 13px;
257
+ padding: 3px 8px;
258
+ border-radius: 999px;
259
+ }
260
+ .crown-1 { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; box-shadow: 0 2px 6px rgba(217,119,6,0.2); }
261
+ .crown-2 { background: #f1f5f9; color: #334155; border: 1px solid #cbd5e1; }
262
+ .crown-3 { background: #ffedd5; color: #c2410c; border: 1px solid #fed7aa; }
263
+ .rank-num { font-weight: 800; font-size: 13px; color: var(--text-dim); }
264
+ .r-reward { font-size: 12px; color: var(--sky); }
265
+
266
  /* 測驗作答 */
267
  .qz-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding-right: 40px; }
268
  .qz-top .progress { flex: 1; }
 
339
  .user-box .mute { display: none; }
340
  .tabs {
341
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 45; padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
342
+ background: var(--bg-1); border-top: 1px solid var(--line); justify-content: space-around; gap: 4px;
343
+ box-shadow: 0 -4px 16px rgba(15,23,42,.06);
344
  }
345
+ html[data-theme="dark"] .tabs { background: rgba(11,15,26,.97); box-shadow: none; }
346
  .tab { flex: 1; flex-direction: column; gap: 0; padding: 4px; min-height: 52px; font-size: 18px; border: 0; }
347
  .tab span { font-size: 11px; }
348
  .main { padding: 12px 10px 100px; }
data/banks/img/social/image001.gif ADDED
data/banks/img/social/image002.gif ADDED
data/banks/img/social/image003.gif ADDED
data/banks/img/social/image004.gif ADDED
data/banks/img/social/image005.jpg ADDED
data/banks/img/social/image006.jpg ADDED
data/banks/img/social/image007.gif ADDED
data/banks/img/social/image008.jpg ADDED
data/banks/img/social/image009.jpg ADDED
data/banks/img/social/image010.gif ADDED
data/banks/img/social/image011.gif ADDED
data/banks/img/social/image012.gif ADDED
data/banks/img/social/image013.jpg ADDED
data/banks/img/social/image014.gif ADDED
data/banks/img/social/image015.gif ADDED
data/banks/img/social/image016.gif ADDED
data/banks/img/social/image017.gif ADDED
data/banks/img/social/image018.jpg ADDED
data/banks/img/social/image019.gif ADDED
data/banks/img/social/image020.gif ADDED
data/banks/img/social/image021.jpg ADDED
data/banks/img/social/image022.gif ADDED
data/banks/img/social/image023.gif ADDED
data/banks/img/social/image024.gif ADDED
data/banks/img/social/image025.gif ADDED
data/banks/img/social/image026.jpg ADDED
data/banks/img/social/image027.jpg ADDED
data/banks/img/social/image028.gif ADDED
data/banks/img/social/image029.gif ADDED
data/banks/img/social/image030.gif ADDED
data/banks/img/social/image031.jpg ADDED
data/banks/img/social/image032.gif ADDED
data/banks/img/social/image033.gif ADDED
data/banks/img/social/image034.jpg ADDED
data/banks/img/social/image035.jpg ADDED
data/banks/img/social/image036.gif ADDED
data/banks/img/social/image037.gif ADDED
data/banks/img/social/image038.gif ADDED
data/banks/img/social/image039.gif ADDED