/* VORDA type system, shared by the site and the launcher.
   Unbounded carries headings and big actions, Onest carries reading text,
   Monocraft is the pixel accent for short game labels. All faces are local (OFL). */
@font-face {
  font-family: Unbounded;
  src: url("/fonts/unbounded-variable.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: Onest;
  src: url("/fonts/onest-variable.woff2") format("woff2"), url("/fonts/onest-variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Monocraft;
  src: url("/fonts/monocraft.woff2") format("woff2"), url("/fonts/monocraft.ttf") format("truetype");
  font-display: swap;
}
/* Pixelify has no Cyrillic О/П, so it is limited to digits and Latin labels. */
@font-face {
  font-family: Pixelify;
  src: url("/fonts/pixelify-variable.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0021-007E;
}
:root {
  --font-display: Unbounded, Onest, "Segoe UI", sans-serif;
  --font-body: Onest, "Segoe UI", system-ui, sans-serif;
  --font-pixel: Monocraft, monospace;
  --font-digits: Pixelify, Monocraft, monospace;

  /* Minecraft materials as working colors. */
  --mc-emerald: #3ddc6f;
  --mc-emerald-hi: #8ff5ae;
  --mc-emerald-lo: #1d9447;
  --mc-emerald-ink: #04260f;
  --mc-diamond: #5ee2ff;
  --mc-diamond-lo: #1d8fb3;
  --mc-gold: #ffcb45;
  --mc-gold-lo: #b9850f;
  --mc-amethyst: #b685ff;
  --mc-amethyst-lo: #6f3fc4;
  --mc-redstone: #ff5468;
  --mc-redstone-lo: #a8213a;
  --mc-copper: #ff9b4a;
  --mc-copper-lo: #b45a1c;
  --mc-sakura: #ff8fcf;
  --mc-sakura-lo: #b0457f;

  /* Stepped pixel corners for chunky controls. */
  --notch: 4px;
  --notch-clip: polygon(
    0 var(--notch), var(--notch) var(--notch), var(--notch) 0,
    calc(100% - var(--notch)) 0, calc(100% - var(--notch)) var(--notch), 100% var(--notch),
    100% calc(100% - var(--notch)), calc(100% - var(--notch)) calc(100% - var(--notch)), calc(100% - var(--notch)) 100%,
    var(--notch) 100%, var(--notch) calc(100% - var(--notch)), 0 calc(100% - var(--notch))
  );
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}
