/* 顏色管理 */
:root {
  /* 主要顏色 */
  --main: #ff6100; /* 橘主色 */
  --second: #e0e0e0; /* 淺灰 */
  --third: #202020; /* 深灰/黑 */
  --accent-1: #bbdaac; /* 強調色1 (綠) */
  --accent-2: #aedce7; /* 強調色2 (藍) */
  --text-primary: #222; /* 文字 */
  --text-secondary: #333; /* 文字02 */
  --text-third: #555;
  --success: #22c55e; /* 成功綠 */
  --info: #65b6ca; /* 資訊藍 */
  --error: #ef4444; /* 錯誤紅 */

  /* 主要顏色-RGB */
  --main-rgb: 255, 97, 0;
  --second-rgb: 224, 224, 224;
  --third-rgb: 32, 32, 32;
  --accent1-rgb: 187, 218, 172;
  --accent2-rgb: 174, 220, 231;
  --success-rgb: 34, 197, 94;
  --error-rgb: 239, 68, 68;

  /* 字體 */
  --font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;

  /* loading */
  --dot-size: 12px; /* 點大小 */
  --radius: 30px; /* 與中心距離 */
  --dot-color: #ff6100; /* 橘主色 */
  --spin-dur: 10s; /* 旋轉速度 */
}

/* 全局樣式 */
@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-VariableFont_opsz_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans TC";
  src: url("/fonts/NotoSansTC-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", "Noto Sans TC", system-ui, sans-serif;
  font-size: 1rem;
  color: #000;
}

body a {
  text-decoration: none;
  color: #000;
}

[x-cloak] {
  display: none !important;
}
