html {
  @extend .light-mode;
  --dark-color-base: #b0bac5;
  --dark-color-contrast: #ecf9fb;

  --gap-xs: 0.25rem;
  --gap-sm: 0.5rem;
  --gap-md: 0.75rem;
  --gap-lg: 1rem;
  --gap-xl: 1.5rem;

  --radius-xs: 0.25rem;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-max: 999999999px;

  --color-tooltip-text: var(--color-base);
  --color-tooltip-bg: var(--color-button-bg);
}

.light-mode,
.light {
  --color-bg: #e5e7eb;
  --color-raised-bg: #ffffff;
  --color-super-raised-bg: #e9e9e9;
  --color-button-bg: hsl(220, 13%, 91%);
  --color-scrollbar: #96a2b0;

  --color-base: hsl(221, 39%, 11%);
  --color-secondary: #6b7280;
  --color-contrast: #1a202c;
  --color-accent-contrast: #ffffff;

  --color-red: #cb2245;
  --color-orange: #e08325;
  --color-green: #00af5c;
  --color-blue: #1f68c0;
  --color-purple: #8e32f3;
  --color-gray: #595b61;

  --color-brand: var(--color-green);
  --color-brand-highlight: rgba(0, 175, 92, 0.25);
  --color-brand-shadow: rgba(0, 175, 92, 0.7);

  --shadow-inset-lg: inset 0px -2px 2px hsla(221, 39%, 91%, 0.1);
  --shadow-inset: inset 0px -2px 2px hsla(221, 39%, 91%, 0.05);
  --shadow-inset-sm: inset 0px -1px 2px hsla(221, 39%, 91%, 0.15);

  --shadow-raised-lg: 0px 2px 4px hsla(221, 39%, 11%, 0.2);
  --shadow-raised: 0.3px 0.5px 0.6px hsl(var(--shadow-color) / 0.15),
    1px 2px 2.2px -1.7px hsl(var(--shadow-color) / 0.12),
    4.4px 8.8px 9.7px -3.4px hsl(var(--shadow-color) / 0.09);
  --shadow-floating: hsla(0, 0%, 0%, 0) 0px 0px 0px 0px, hsla(0, 0%, 0%, 0) 0px 0px 0px 0px,
    hsla(0, 0%, 0%, 0.1) 0px 4px 6px -1px, hsla(0, 0%, 0%, 0.1) 0px 2px 4px -1px;

  --shadow-card: rgba(50, 50, 100, 0.1) 0px 2px 4px 0px;

  --color-ad: #d6e6f9;
  --color-ad-raised: #b1c8e4;
  --color-ad-contrast: var(--color-text);
  --color-ad-highlight: #088cdb;
}

.dark-mode,
.dark {
  --color-bg: #16181c;
  --color-raised-bg: #26292f;
  --color-super-raised-bg: #40434a;
  --color-button-bg: hsl(222, 13%, 30%);
  --color-scrollbar: var(--color-button-bg);

  --color-base: var(--dark-color-base);
  --color-secondary: #96a2b0;
  --color-contrast: var(--dark-color-contrast);
  --color-accent-contrast: #000000;

  --color-red: #ff496e;
  --color-orange: #ffa347;
  --color-green: #1bd96a;
  --color-blue: #4f9cff;
  --color-purple: #c78aff;
  --color-gray: #9fa4b3;

  --color-brand: var(--color-green);
  --color-brand-highlight: rgba(27, 217, 106, 0.25);
  --color-brand-shadow: rgba(27, 217, 106, 0.7);

  --shadow-inset-lg: inset 0px -2px 2px hsla(221, 39%, 11%, 0.1);
  --shadow-inset: inset 0px -2px 2px hsla(221, 39%, 11%, 0.05);
  --shadow-inset-sm: inset 0px -1px 1px hsla(221, 39%, 11%, 0.25);

  --shadow-raised-lg: 0px 2px 4px hsla(221, 39%, 11%, 0.2);
  --shadow-raised: 0px -2px 4px hsla(221, 39%, 11%, 0.1);
  --shadow-floating: hsla(0, 0%, 0%, 0) 0px 0px 0px 0px, hsla(0, 0%, 0%, 0) 0px 0px 0px 0px,
    hsla(0, 0%, 0%, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;

  --shadow-card: rgba(0, 0, 0, 0.25) 0px 2px 4px 0px;

  --color-ad: #1f324a;
  --color-ad-raised: #2e4057;
  --color-ad-contrast: var(--color-text);
  --color-ad-highlight: #088cdb;
}

.oled-mode {
  @extend .dark-mode;
  --color-bg: #000000;
  --color-raised-bg: #101013;
  --color-button-bg: #222329;

  --color-ad: #0d1828;
}
