/*fern-site-stylesheet*/@font-face {
    font-family: 'Inter';
    src: url('/_fern-files/api.lemmy.be/3100e775e8616cd2611beecfa23a4263d7037586789b43f035236a2e6fbd4c62/docs/assets/fonts/Inter-Variable.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0300-0323;
}
@font-face {
    font-family: 'Inter';
    src: url('/_fern-img/3100e775e8616cd2611beecfa23a4263-v1.latin.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000, U+0020-007E, U+00A0-00AC, U+00AE-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+2002, U+2009, U+200B, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+2044, U+20AC, U+2122, U+2191, U+2193, U+2212, U+FEFF;
}
@font-face {
    font-family: 'Newsreader';
    src: url('/_fern-files/api.lemmy.be/6e4f2958c3a7c4a80acde4e5a679abe7e01bc1e30b92be3c7a8b696ef401d101/docs/assets/fonts/Newsreader-Variable.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter Fallback';
    src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('Arimo');
    size-adjust: 107.12%;
    ascent-override: 90.44%;
    descent-override: 22.52%;
    line-gap-override: 0.00%;
}
@font-face {
    font-family: 'Newsreader Fallback';
    src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('Arimo');
    size-adjust: 91.75%;
    ascent-override: 80.11%;
    descent-override: 28.88%;
    line-gap-override: 0.00%;
}

:root {
  --header-height: 64px;
  --header-height-real: 64px;
  --mobile-header-height-real: 64px;
  --content-width: 640px;
  --sidebar-width: 288px;
  --page-width: 100vw;
  --logo-height: 20px;
  --font-body: 'Inter', 'Inter Fallback', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  --font-heading: 'Newsreader', 'Newsreader Fallback', 'Inter', 'Inter Fallback', 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);
}


.light, :root {
  --accent-1: #fefcfc;
  --accent-2: #fff7f6;
  --accent-3: #ffeae9;
  --accent-4: #ffd8d4;
  --accent-5: #ffc8c4;
  --accent-6: #ffbab6;
  --accent-7: #f6a7a3;
  --accent-8: #eb8e8a;
  --accent-9: #fc6b6b;
  --accent-10: #ef5f60;
  --accent-11: #ce4146;
  --accent-12: #592a29;

  --accent-a1: #aa000003;
  --accent-a2: #ff1d0009;
  --accent-a3: #ff0c0016;
  --accent-a4: #ff18012b;
  --accent-a5: #ff12013b;
  --accent-a6: #ff0e0049;
  --accent-a7: #e70c005c;
  --accent-a8: #d4090075;
  --accent-a9: #fa000094;
  --accent-a10: #e60002a0;
  --accent-a11: #bd0007be;
  --accent-a12: #390100d6;

  --accent-contrast: #fff;
  --accent-surface: #fff5f4cc;
  --accent-indicator: #fc6b6b;
  --accent-track: #fc6b6b;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .light, :root {
      --accent-1: oklch(99.3% 0.0026 22.75);
      --accent-2: oklch(98.2% 0.0098 22.75);
      --accent-3: oklch(95.6% 0.025 22.75);
      --accent-4: oklch(92.3% 0.0558 22.75);
      --accent-5: oklch(89.1% 0.0747 22.75);
      --accent-6: oklch(85.5% 0.0838 22.75);
      --accent-7: oklch(80.4% 0.0936 22.75);
      --accent-8: oklch(74.3% 0.1145 22.75);
      --accent-9: oklch(70.7% 0.178 22.75);
      --accent-10: oklch(67% 0.178 22.75);
      --accent-11: oklch(57.9% 0.1777 22.75);
      --accent-12: oklch(34.8% 0.0689 22.75);

      --accent-a1: color(display-p3 0.6745 0.0235 0.0235 / 0.012);
      --accent-a2: color(display-p3 0.8941 0.1294 0.0235 / 0.036);
      --accent-a3: color(display-p3 0.8235 0.102 0.0118 / 0.087);
      --accent-a4: color(display-p3 0.8588 0.098 0.0039 / 0.165);
      --accent-a5: color(display-p3 0.8471 0.0902 0.0039 / 0.228);
      --accent-a6: color(display-p3 0.8627 0.0745 0.0039 / 0.279);
      --accent-a7: color(display-p3 0.7686 0.0588 0.0039 / 0.353);
      --accent-a8: color(display-p3 0.7098 0.0471 0.0039 / 0.448);
      --accent-a9: color(display-p3 0.8549 0.0314 0 / 0.561);
      --accent-a10: color(display-p3 0.7882 0.0196 0 / 0.604);
      --accent-a11: color(display-p3 0.6392 0.0078 0 / 0.706);
      --accent-a12: color(display-p3 0.1922 0.0078 0 / 0.836);

      --accent-contrast: #fff;
      --accent-surface: color(display-p3 0.9961 0.9608 0.9569 / 0.8);
      --accent-indicator: oklch(70.7% 0.178 22.75);
      --accent-track: oklch(70.7% 0.178 22.75);
    }
  }
}


.light, :root {
  --grayscale-1: #fdfdfc;
  --grayscale-2: #f9f9f8;
  --grayscale-3: #f1f0ef;
  --grayscale-4: #e9e8e6;
  --grayscale-5: #e2e1de;
  --grayscale-6: #dad9d6;
  --grayscale-7: #cfceca;
  --grayscale-8: #bcbbb5;
  --grayscale-9: #8d8d86;
  --grayscale-10: #82827c;
  --grayscale-11: #63635e;
  --grayscale-12: #21201c;

  --grayscale-a1: #55550003;
  --grayscale-a2: #25250007;
  --grayscale-a3: #20100010;
  --grayscale-a4: #1f150019;
  --grayscale-a5: #1f180021;
  --grayscale-a6: #19130029;
  --grayscale-a7: #19140035;
  --grayscale-a8: #1915014a;
  --grayscale-a9: #0f0f0079;
  --grayscale-a10: #0c0c0083;
  --grayscale-a11: #080800a1;
  --grayscale-a12: #060500e3;

  --grayscale-contrast: #000;
  --grayscale-surface: #ffffffcc;
  --grayscale-indicator: #8d8d86;
  --grayscale-track: #8d8d86;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .light, :root {
      --grayscale-1: color(display-p3 0.992 0.992 0.989);
      --grayscale-2: color(display-p3 0.977 0.977 0.973);
      --grayscale-3: color(display-p3 0.943 0.942 0.936);
      --grayscale-4: color(display-p3 0.913 0.912 0.903);
      --grayscale-5: color(display-p3 0.885 0.883 0.873);
      --grayscale-6: color(display-p3 0.854 0.852 0.839);
      --grayscale-7: color(display-p3 0.813 0.81 0.794);
      --grayscale-8: color(display-p3 0.738 0.734 0.713);
      --grayscale-9: color(display-p3 0.553 0.553 0.528);
      --grayscale-10: color(display-p3 0.511 0.511 0.488);
      --grayscale-11: color(display-p3 0.388 0.388 0.37);
      --grayscale-12: color(display-p3 0.129 0.126 0.111);

      --grayscale-a1: #55550003;
      --grayscale-a2: #25250007;
      --grayscale-a3: #20100010;
      --grayscale-a4: #1f150019;
      --grayscale-a5: #1f180021;
      --grayscale-a6: #19130029;
      --grayscale-a7: #19140035;
      --grayscale-a8: #1915014a;
      --grayscale-a9: #0f0f0079;
      --grayscale-a10: #0c0c0083;
      --grayscale-a11: #080800a1;
      --grayscale-a12: #060500e3;

      --grayscale-contrast: #000;
      --grayscale-surface: color(display-p3 1 1 1 / 80%);
      --grayscale-indicator: color(display-p3 0.553 0.553 0.528);
      --grayscale-track: color(display-p3 0.553 0.553 0.528);
    }
  }
}


.dark {
  --accent-1: #201817;
  --accent-2: #261918;
  --accent-3: #401717;
  --accent-4: #551316;
  --accent-5: #64191c;
  --accent-6: #752527;
  --accent-7: #8d3435;
  --accent-8: #b64546;
  --accent-9: #fc6b6b;
  --accent-10: #ef5f60;
  --accent-11: #ff8f8b;
  --accent-12: #ffd2cf;

  --accent-a1: #f5000007;
  --accent-a2: #f508000e;
  --accent-a3: #fc09092b;
  --accent-a4: #fe000b42;
  --accent-a5: #fd172053;
  --accent-a6: #fd353a66;
  --accent-a7: #fe4e5081;
  --accent-a8: #ff5a5bae;
  --accent-a9: #ff6c6cfc;
  --accent-a10: #fe6465ee;
  --accent-a11: #ff8f8b;
  --accent-a12: #ffd2cf;

  --accent-contrast: #fff;
  --accent-surface: #32191780;
  --accent-indicator: #fc6b6b;
  --accent-track: #fc6b6b;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .dark {
      --accent-1: oklch(21.8% 0.0134 22.75);
      --accent-2: oklch(22.9% 0.0216 22.75);
      --accent-3: oklch(26.9% 0.0645 22.75);
      --accent-4: oklch(30.2% 0.0962 22.75);
      --accent-5: oklch(34% 0.1069 22.75);
      --accent-6: oklch(38.7% 0.1117 22.75);
      --accent-7: oklch(45.3% 0.1211 22.75);
      --accent-8: oklch(54.4% 0.147 22.75);
      --accent-9: oklch(70.7% 0.178 22.75);
      --accent-10: oklch(67% 0.178 22.75);
      --accent-11: oklch(78.4% 0.1624 22.75);
      --accent-12: oklch(90.2% 0.053 22.75);

      --accent-a1: color(display-p3 0.9961 0 0 / 0.022);
      --accent-a2: color(display-p3 0.9961 0.1059 0 / 0.044);
      --accent-a3: color(display-p3 0.9961 0.0784 0.051 / 0.145);
      --accent-a4: color(display-p3 1 0.0706 0.0706 / 0.228);
      --accent-a5: color(display-p3 1 0.1725 0.1725 / 0.289);
      --accent-a6: color(display-p3 0.9961 0.2863 0.2784 / 0.359);
      --accent-a7: color(display-p3 1 0.3765 0.3608 / 0.459);
      --accent-a8: color(display-p3 1 0.4157 0.4039 / 0.625);
      --accent-a9: color(display-p3 1 0.4902 0.4745 / 0.909);
      --accent-a10: color(display-p3 1 0.4588 0.4431 / 0.856);
      --accent-a11: color(display-p3 1 0.6157 0.5882 / 0.935);
      --accent-a12: color(display-p3 1 0.8549 0.8353 / 0.97);

      --accent-contrast: #fff;
      --accent-surface: color(display-p3 0.1804 0.0941 0.0863 / 0.5);
      --accent-indicator: oklch(70.7% 0.178 22.75);
      --accent-track: oklch(70.7% 0.178 22.75);
    }
  }
}


.dark {
  --grayscale-1: #111111;
  --grayscale-2: #191919;
  --grayscale-3: #222222;
  --grayscale-4: #2a2a2a;
  --grayscale-5: #313131;
  --grayscale-6: #3a3a3a;
  --grayscale-7: #484848;
  --grayscale-8: #606060;
  --grayscale-9: #6e6e6e;
  --grayscale-10: #7b7b7b;
  --grayscale-11: #b4b4b4;
  --grayscale-12: #eeeeee;

  --grayscale-a1: #00000000;
  --grayscale-a2: #ffffff09;
  --grayscale-a3: #ffffff12;
  --grayscale-a4: #ffffff1b;
  --grayscale-a5: #ffffff22;
  --grayscale-a6: #ffffff2c;
  --grayscale-a7: #ffffff3b;
  --grayscale-a8: #ffffff55;
  --grayscale-a9: #ffffff64;
  --grayscale-a10: #ffffff72;
  --grayscale-a11: #ffffffaf;
  --grayscale-a12: #ffffffed;

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

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .dark {
      --grayscale-1: color(display-p3 0.067 0.067 0.067);
      --grayscale-2: color(display-p3 0.098 0.098 0.098);
      --grayscale-3: color(display-p3 0.135 0.135 0.135);
      --grayscale-4: color(display-p3 0.163 0.163 0.163);
      --grayscale-5: color(display-p3 0.192 0.192 0.192);
      --grayscale-6: color(display-p3 0.228 0.228 0.228);
      --grayscale-7: color(display-p3 0.283 0.283 0.283);
      --grayscale-8: color(display-p3 0.375 0.375 0.375);
      --grayscale-9: color(display-p3 0.431 0.431 0.431);
      --grayscale-10: color(display-p3 0.484 0.484 0.484);
      --grayscale-11: color(display-p3 0.706 0.706 0.706);
      --grayscale-12: color(display-p3 0.933 0.933 0.933);

      --grayscale-a1: #00000000;
      --grayscale-a2: #ffffff09;
      --grayscale-a3: #ffffff12;
      --grayscale-a4: #ffffff1b;
      --grayscale-a5: #ffffff22;
      --grayscale-a6: #ffffff2c;
      --grayscale-a7: #ffffff3b;
      --grayscale-a8: #ffffff55;
      --grayscale-a9: #ffffff64;
      --grayscale-a10: #ffffff72;
      --grayscale-a11: #ffffffaf;
      --grayscale-a12: #ffffffed;

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

.light, :root {
  color-scheme: light;
  --accent: rgba(252, 107, 107, 1);
  --background: rgba(255, 255, 255, 1);
  --border: rgba(229, 231, 235, 1);
  --sidebar-background: initial;
  --header-background: color-mix(in srgb, var(--background), transparent 30%);
  --card-background: initial;
  --theme-color: #fff;
}

.dark {
  color-scheme: dark;
  --accent: rgba(252, 107, 107, 1);
  --background: rgba(26, 26, 26, 1);
  --border: rgba(34, 35, 37, 1);
  --sidebar-background: initial;
  --header-background: color-mix(in srgb, var(--background), transparent 30%);
  --card-background: initial;
  --theme-color: #1a1a1a;
}

/* Custom styles for the Lemmy API docs */

/* Subtle linear gradient background — coral tint in light mode */
.fern-background-image {
  background-image: linear-gradient(180deg, rgba(252, 107, 107, 0.05) 0%, transparent 50%);
}

:root.dark .fern-background-image {
  background-image: linear-gradient(180deg, rgba(112, 225, 85, 0.03) 0%, transparent 50%);
}

/* Use the body font (Inter) for FAQ / accordion titles instead of the heading serif */
.fern-accordion-trigger-title {
  font-family: "Inter", sans-serif;
}

/* Remove the "Built with Fern" footer badge */
#builtwithfern {
  display: none;
}
