/* 自訂樣式與微調動畫 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700;900&display=swap');

body {
  font-family: 'Noto Sans TC', system-ui, -apple-system, sans-serif;
  background-color: #f8fafc;
  -webkit-tap-highlight-color: transparent;
}

/* 分數跳動動畫 */
@keyframes scoreBump {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.score-animate {
  animation: scoreBump 0.25s ease-out;
}

/* 滾動條美化 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* 避免行動裝置雙擊縮放延遲 */
button {
  touch-action: manipulation;
}

