/* Shared palette and type. The ballot is yellow paper printed in blue ink; a vote is a red seal. */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/big-shoulders-display-latin-800-normal.woff2) format('woff2');
}

:root {
  --ballot: #fff0a6; /* 選票黃 */
  --ballot-deep: #f2d95e;
  --sheet: #ffffff; /* 開票表 */
  --ink: #14238a; /* 藍墨 */
  --ink-2: #4a56a8;
  --ink-3: #c9cee8;
  --seal: #d4281c; /* 印泥紅 */
  --gold: #e8b21a;
  --silver: #c3c9d2;
  --bronze: #d08a4e;

  --sans: 'PingFang TC', 'Microsoft JhengHei', 'Noto Sans TC', 'Noto Sans CJK TC', 'Heiti TC', sans-serif;
  --kai: 'LXGW WenKai TC', 'BiauKai', 'Kaiti TC', 'DFKai-SB', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  --num: 'Big Shoulders Display', 'Arial Narrow', 'Roboto Condensed', '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;
}
