@font-face {
  font-family: Fredoka;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/fredoka-400.ttf) format('truetype');
}
@font-face {
  font-family: Fredoka;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/fredoka-600.ttf) format('truetype');
}
/* Anton (SIL OFL 1.1, fonts/anton-OFL.txt): El Obrador's tabloid masthead and headlines. */
@font-face {
  font-family: Anton;
  font-display: swap;
  src: url(/fonts/anton-400.woff2) format('woff2');
}
:root {
  --ink: #2b2a28;
  --paper: #fff8e6;
  --yellow: #f2b632;
  --red: #e0453a;
  --green: #3ec26b;
  --panel: #2b2a28e0;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #bfe3ef;
  color: var(--paper);
  font:
    15px/1.4 Fredoka,
    system-ui,
    sans-serif;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
#game {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}
body.pointing #game {
  cursor: crosshair;
}
[hidden] {
  display: none !important;
}
button {
  font: inherit;
  cursor: pointer;
  border: 0;
  border-radius: 10px;
  padding: 8px 12px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 3px 0 #0005;
}
button:active {
  transform: translateY(2px);
  box-shadow: none;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
/* Greyed but clickable: clicking says what is missing. */
button.short {
  opacity: 0.45;
}
button.go {
  background: var(--yellow);
  font-weight: 600;
}
.panel {
  background: var(--panel);
  border-radius: 14px;
  padding: 10px 12px;
  backdrop-filter: blur(4px);
}
