()
| 971 | const unlockedLabel = desktopMode ? "预览点亮" : "已点亮"; |
| 972 | const remainingCells = Math.max(0, displayTotalCells - displayUnlockedCells); |
| 973 | const refreshProgress = () => load().catch((err) => setMessage(String(err))); |
| 974 | const tabs = [ |
| 975 | { key: "stats" as const, label: "数据", icon: BarChart3 }, |
| 976 | { key: "board" as const, label: "挑战榜", icon: Trophy }, |