/* fonts and colours for the forum's plain pages (age gate, launcher sign-in) that don't load the forum bundle */
@font-face { font-family: "Fell"; src: url(fonts/im-fell-english-latin-400-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Fell SC"; src: url(fonts/im-fell-english-sc-latin-400-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Spectral"; font-weight: 400; src: url(fonts/spectral-latin-400-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Spectral"; font-weight: 500; src: url(fonts/spectral-latin-500-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Spectral"; font-weight: 600; src: url(fonts/spectral-latin-600-normal.woff2) format("woff2"); font-display: swap; }

:root {
  --bg: #1b1e28;
  --panel: #14171f;
  --raise: #232633;
  --raise-2: #2b2e3c;
  --well: #0f1117;
  --edge: #0b0c11;
  --text: #e9e2d3;
  --dim: #c5bfb1;
  --muted: #a3ab9c;
  --gold: #a8823c;
  --gold-hover: #947235;
  --gold-deep: #5e4720;
  --gold-ink: #15120c;
  --ink: #15120c;
  --gold-text: #a8823c;
  --gold-text-hover: #c19a52;
  --btn-hover: #343848;
  --apple: #a8232b;
  --bad: #e08b8b;
  --plate-line: 21, 18, 12;
  --serif: "Spectral", Georgia, serif;
  --fell: "Fell", "Spectral", Georgia, serif;
  --fell-sc: "Fell SC", "Fell", Georgia, serif;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #ebe3d1;
  --panel: #e1d8c4;
  --raise: #d7cdb6;
  --raise-2: #cdc2a7;
  --well: #f5f0e4;
  --edge: #aa9e82;
  --text: #1f1d1a;
  --dim: #3f3b34;
  --muted: #6a6558;
  --gold-hover: #b8924a;
  --gold-deep: #6e5526;
  --gold-text: #7a5a1e;
  --gold-text-hover: #5e4517;
  --btn-hover: #c2b698;
  --bad: #8a1f26;
  color-scheme: light;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .91 0 0 0 0 .88 0 0 0 0 .82 0 0 0 1.2 -.35'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
:root[data-theme="light"] body::after { opacity: .1; mix-blend-mode: multiply; }
:root[data-theme="light"] .ef-sigil { filter: brightness(.3) sepia(.6); }
::selection { background: var(--gold); color: var(--gold-ink); }
