@font-face {
  font-family: 'Tiny5';
  src: url('/fonts/tiny5/Tiny5-Variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Golos Text';
  src: url('/fonts/golos-text/GolosText-Variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

body,
.bridge-game {
  --font-sans: 'Golos Text', system-ui, sans-serif;
  --font-display: 'Tiny5', 'Golos Text', sans-serif;
  --font-mono: ui-monospace, 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  font-synthesis: none;
}

.bridge-game .system {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 20px;
}

.bridge-game :is(button, input, textarea, select, .choice) {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
}

.bridge-game :is(h1, h2, h3, .masthead) {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 24px;
  font-weight: 400;
  font-variation-settings: 'BLED' 0, 'JITT' 0, 'ROND' 0, 'wdth' 100, 'wght' 400;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: auto;
}

.bridge-game .font-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
