@font-face {
  font-family: "B612";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/b612-regular-fb54fd85.woff2") format("woff2");
}

@font-face {
  font-family: "B612";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/b612-bold-6c1e1c8a.woff2") format("woff2");
}

@font-face {
  font-family: "B612 Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/b612-mono-regular-daa61259.woff2") format("woff2");
}

:root {
  color-scheme: dark;

  --color-enamel: #17211f;
  --color-face: #1f2c29;
  --color-console: #121a18;
  --color-window: #0c1311;
  --color-edge: #3d5452;
  --color-legend: #d9e1d2;
  --color-legend-muted: #93a59b;
  --color-readout: #eef4e6;

  --color-iron-ore: #c98463;

  --font-legend: "B612", system-ui, sans-serif;
  --font-readout: "B612 Mono", ui-monospace, monospace;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;

  --radius-plate: 2px;
  --radius-module: 4px;
  --token-size: 1.75rem;
}

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

body {
  margin: 0;
  background: var(--color-enamel);
  color: var(--color-legend);
  font-family: var(--font-legend);
  line-height: 1.4;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

.plate {
  justify-self: start;
  padding: 0.125rem var(--space-2);
  border: 1px solid var(--color-edge);
  border-radius: var(--radius-plate);
  background: var(--color-face);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.token {
  display: inline-grid;
  place-items: center;
  flex: none;
  inline-size: var(--token-size);
  block-size: var(--token-size);
  background: var(--token-color, var(--color-legend-muted));
  color: var(--color-enamel);
  font-size: 0.75rem;
  font-weight: 700;
}

.token--raw {
  border-radius: 50%;
}

[data-resource="iron_ore"] {
  --token-color: var(--color-iron-ore);
}

.flow {
  color: var(--color-legend-muted);
  font-size: 0.875rem;
}
