/* Shared palette and type. Rotary royal blue on a cool grey ground, with gold kept for first place. */
:root {
  --bg: #f2f5fa; /* page ground */
  --surface: #ffffff; /* cards and sheets */
  --tint: #edf3fc; /* selected or highlighted surface */
  --tint-deep: #d6e4fa;
  --line: #dbe2ee;
  --line-strong: #b9c4d6;

  --ink: #0c2145; /* text */
  --ink-2: #56647d; /* secondary text */
  --ink-3: #dbe2ee;
  --brand: #17458f; /* 扶輪藍 */
  --brand-deep: #0f3270;
  --gold: #f7a81b; /* 扶輪金 */
  --gold-tint: #fff6e0;
  --silver: #c5ccd8;
  --bronze: #d9a06b;
  --live: #d92d20; /* live dot, errors, destructive actions */
  --ok: #17803d;

  --radius: 12px;
  --shadow: 0 1px 2px rgba(12, 33, 69, 0.06), 0 6px 20px rgba(12, 33, 69, 0.06);

  --sans: 'PingFang TC', 'Microsoft JhengHei', 'Noto Sans TC', 'Noto Sans CJK TC', 'Heiti TC', 'Segoe UI', sans-serif;
  --num: 'Segoe UI', 'SF Pro Display', 'Helvetica Neue', Roboto, Arial, 'PingFang TC', 'Microsoft JhengHei', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}
