/*fern-site-stylesheet*/:root {
  --header-height: 64px;
  --header-height-real: 64px;
  --mobile-header-height-real: 64px;
  --content-width: 640px;
  --sidebar-width: 288px;
  --page-width: 1408px;
  --logo-height: 20px;
  --font-body: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  --font-heading: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  --font-code: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
}

:root {
  --typography-body-font-family: var(--font-body);
  --typography-heading-font-family: var(--font-heading);
  --typography-code-font-family: var(--font-code);
}


:root {
  --accent-1: #000;
  --accent-2: #190e0a;
  --accent-3: #32170c;
  --accent-4: #4b1800;
  --accent-5: #5b2103;
  --accent-6: #6b3015;
  --accent-7: #834022;
  --accent-8: #a8532c;
  --accent-9: #f60;
  --accent-10: #f15900;
  --accent-11: #ff9c6c;
  --accent-12: #ffdbc9;

  --accent-a1: #00000000;
  --accent-a2: #ff8f6619;
  --accent-a3: #ff763e32;
  --accent-a4: #ff52004b;
  --accent-a5: #ff5d095b;
  --accent-a6: #ff73336b;
  --accent-a7: #ff7d4383;
  --accent-a8: #ff7e43a8;
  --accent-a9: #ff6600;
  --accent-a10: #ff5e00f1;
  --accent-a11: #ff9c6c;
  --accent-a12: #ffdbc9;

  --accent-contrast: #fff;
  --accent-surface: #321c1480;
  --accent-indicator: #f60;
  --accent-track: #f60;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    :root {
      --accent-1: oklch(0% 0.0127 43.49);
      --accent-2: oklch(17.8% 0.0205 43.49);
      --accent-3: oklch(24.2% 0.0484 43.49);
      --accent-4: oklch(28.5% 0.0851 43.49);
      --accent-5: oklch(33% 0.0928 43.49);
      --accent-6: oklch(38.4% 0.0929 43.49);
      --accent-7: oklch(45.2% 0.1012 43.49);
      --accent-8: oklch(54% 0.1242 43.49);
      --accent-9: oklch(69.6% 0.2043 43.49);
      --accent-10: oklch(65.8% 0.2043 43.49);
      --accent-11: oklch(79.9% 0.1744 43.49);
      --accent-12: oklch(92.5% 0.056 43.49);

      --accent-a1: color(display-p3 0 0 0 / 0);
      --accent-a2: color(display-p3 0.9922 0.6039 0.4745 / 0.091);
      --accent-a3: color(display-p3 1 0.5216 0.3059 / 0.181);
      --accent-a4: color(display-p3 1 0.3922 0.0902 / 0.271);
      --accent-a5: color(display-p3 1 0.4431 0.1451 / 0.33);
      --accent-a6: color(display-p3 1 0.5098 0.2824 / 0.393);
      --accent-a7: color(display-p3 1 0.5569 0.3373 / 0.479);
      --accent-a8: color(display-p3 1 0.5608 0.3373 / 0.616);
      --accent-a9: color(display-p3 1 0.4706 0.1882 / 0.93);
      --accent-a10: color(display-p3 1 0.4431 0.1843 / 0.875);
      --accent-a11: color(display-p3 1 0.6667 0.4863 / 0.946);
      --accent-a12: color(display-p3 1 0.8824 0.8157 / 0.977);

      --accent-contrast: #fff;
      --accent-surface: color(display-p3 0.1804 0.1176 0.0784 / 0.5);
      --accent-indicator: oklch(69.6% 0.2043 43.49);
      --accent-track: oklch(69.6% 0.2043 43.49);
    }
  }
}


:root {
  --grayscale-1: #111110;
  --grayscale-2: #191918;
  --grayscale-3: #222221;
  --grayscale-4: #2a2a28;
  --grayscale-5: #31312e;
  --grayscale-6: #3b3a37;
  --grayscale-7: #494844;
  --grayscale-8: #62605b;
  --grayscale-9: #6f6d66;
  --grayscale-10: #7c7b74;
  --grayscale-11: #b5b3ad;
  --grayscale-12: #eeeeec;

  --grayscale-a1: #00000000;
  --grayscale-a2: #f4f4f309;
  --grayscale-a3: #f6f6f513;
  --grayscale-a4: #fefef31b;
  --grayscale-a5: #fbfbeb23;
  --grayscale-a6: #fffaed2d;
  --grayscale-a7: #fffbed3c;
  --grayscale-a8: #fff9eb57;
  --grayscale-a9: #fffae965;
  --grayscale-a10: #fffdee73;
  --grayscale-a11: #fffcf4b0;
  --grayscale-a12: #fffffded;

  --grayscale-contrast: #fff;
  --grayscale-surface: rgba(0, 0, 0, 0.05);
  --grayscale-indicator: #6f6d66;
  --grayscale-track: #6f6d66;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    :root {
      --grayscale-1: color(display-p3 0.067 0.067 0.063);
      --grayscale-2: color(display-p3 0.098 0.098 0.094);
      --grayscale-3: color(display-p3 0.135 0.135 0.129);
      --grayscale-4: color(display-p3 0.164 0.163 0.156);
      --grayscale-5: color(display-p3 0.193 0.192 0.183);
      --grayscale-6: color(display-p3 0.23 0.229 0.217);
      --grayscale-7: color(display-p3 0.285 0.282 0.267);
      --grayscale-8: color(display-p3 0.384 0.378 0.357);
      --grayscale-9: color(display-p3 0.434 0.428 0.403);
      --grayscale-10: color(display-p3 0.487 0.481 0.456);
      --grayscale-11: color(display-p3 0.707 0.703 0.68);
      --grayscale-12: color(display-p3 0.933 0.933 0.926);

      --grayscale-a1: #00000000;
      --grayscale-a2: #f4f4f309;
      --grayscale-a3: #f6f6f513;
      --grayscale-a4: #fefef31b;
      --grayscale-a5: #fbfbeb23;
      --grayscale-a6: #fffaed2d;
      --grayscale-a7: #fffbed3c;
      --grayscale-a8: #fff9eb57;
      --grayscale-a9: #fffae965;
      --grayscale-a10: #fffdee73;
      --grayscale-a11: #fffcf4b0;
      --grayscale-a12: #fffffded;

      --grayscale-contrast: #fff;
      --grayscale-surface: color(display-p3 0 0 0 / 5%);
      --grayscale-indicator: color(display-p3 0.434 0.428 0.403);
      --grayscale-track: color(display-p3 0.434 0.428 0.403);
    }
  }
}

:root {
  color-scheme: dark;
  --accent: rgba(255, 102, 0, 1);
  --background: #000;
  --border: initial;
  --sidebar-background: initial;
  --header-background: color-mix(in srgb, var(--background), transparent 30%);
  --card-background: initial;
  --theme-color: #f60;
}

.dark { color-scheme: dark; --background: #000; }

.fern-background-image {
  background-image: linear-gradient(to bottom, var(--background) 0, color-mix(in srgb, var(--accent), var(--background) 90%) 100%);
}