/* ==UserStyle==
@name           AniList Catppuccin
@namespace      github.com/catppuccin/userstyles/styles/anilist
@homepageURL	https://github.com/catppuccin/userstyles/tree/main/styles/anilist
@version        2.1.1
@description    Soothing pastel theme for AniList
@author         Catppuccin
@updateURL      https://github.com/catppuccin/userstyles/raw/main/styles/anilist/catppuccin.user.css
@license		MIT

@preprocessor   less
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
@var select accentColor "Accent Color" [ "rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green*", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray" ]
@var select contrastColor "Contrast Color" [ "rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green*", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray" ]
==/UserStyle== */
@-moz-document domain("anilist.co") {
  body:not(.site-theme-dark) {
    #catppuccin(@lightFlavor, @accentColor);
  }
  .site-theme-dark {
    #catppuccin(@darkFlavor, @accentColor);
  }

  @catppuccin: {
    @latte: {
      @rosewater: #dc8a78;
      @flamingo: #dd7878;
      @pink: #ea76cb;
      @mauve: #8839ef;
      @red: #d20f39;
      @maroon: #e64553;
      @peach: #fe640b;
      @yellow: #df8e1d;
      @green: #40a02b;
      @teal: #179299;
      @sky: #04a5e5;
      @sapphire: #209fb5;
      @blue: #1e66f5;
      @lavender: #7287fd;
      @text: #4c4f69;
      @subtext1: #5c5f77;
      @subtext0: #6c6f85;
      @overlay2: #7c7f93;
      @overlay1: #8c8fa1;
      @overlay0: #9ca0b0;
      @surface2: #acb0be;
      @surface1: #bcc0cc;
      @surface0: #ccd0da;
      @base: #eff1f5;
      @mantle: #e6e9ef;
      @crust: #dce0e8;
    };
    @frappe: {
      @rosewater: #f2d5cf;
      @flamingo: #eebebe;
      @pink: #f4b8e4;
      @mauve: #ca9ee6;
      @red: #e78284;
      @maroon: #ea999c;
      @peach: #ef9f76;
      @yellow: #e5c890;
      @green: #a6d189;
      @teal: #81c8be;
      @sky: #99d1db;
      @sapphire: #85c1dc;
      @blue: #8caaee;
      @lavender: #babbf1;
      @text: #c6d0f5;
      @subtext1: #b5bfe2;
      @subtext0: #a5adce;
      @overlay2: #949cbb;
      @overlay1: #838ba7;
      @overlay0: #737994;
      @surface2: #626880;
      @surface1: #51576d;
      @surface0: #414559;
      @base: #303446;
      @mantle: #292c3c;
      @crust: #232634;
    };
    @macchiato: {
      @rosewater: #f4dbd6;
      @flamingo: #f0c6c6;
      @pink: #f5bde6;
      @mauve: #c6a0f6;
      @red: #ed8796;
      @maroon: #ee99a0;
      @peach: #f5a97f;
      @yellow: #eed49f;
      @green: #a6da95;
      @teal: #8bd5ca;
      @sky: #91d7e3;
      @sapphire: #7dc4e4;
      @blue: #8aadf4;
      @lavender: #b7bdf8;
      @text: #cad3f5;
      @subtext1: #b8c0e0;
      @subtext0: #a5adcb;
      @overlay2: #939ab7;
      @overlay1: #8087a2;
      @overlay0: #6e738d;
      @surface2: #5b6078;
      @surface1: #494d64;
      @surface0: #363a4f;
      @base: #24273a;
      @mantle: #1e2030;
      @crust: #181926;
    };
    @mocha: {
      @rosewater: #f5e0dc;
      @flamingo: #f2cdcd;
      @pink: #f5c2e7;
      @mauve: #cba6f7;
      @red: #f38ba8;
      @maroon: #eba0ac;
      @peach: #fab387;
      @yellow: #f9e2af;
      @green: #a6e3a1;
      @teal: #94e2d5;
      @sky: #89dceb;
      @sapphire: #74c7ec;
      @blue: #89b4fa;
      @lavender: #b4befe;
      @text: #cdd6f4;
      @subtext1: #bac2de;
      @subtext0: #a6adc8;
      @overlay2: #9399b2;
      @overlay1: #7f849c;
      @overlay0: #6c7086;
      @surface2: #585b70;
      @surface1: #45475a;
      @surface0: #313244;
      @base: #1e1e2e;
      @mantle: #181825;
      @crust: #11111b;
    };
  };

  #rgbify(@color) {
    @rgb-raw: red(@color) green(@color) blue(@color);
  }

  #catppuccin(@lookup, @accent) {
    @rosewater: @catppuccin[@@lookup][@rosewater];
    @flamingo: @catppuccin[@@lookup][@flamingo];
    @pink: @catppuccin[@@lookup][@pink];
    @mauve: @catppuccin[@@lookup][@mauve];
    @red: @catppuccin[@@lookup][@red];
    @maroon: @catppuccin[@@lookup][@maroon];
    @peach: @catppuccin[@@lookup][@peach];
    @yellow: @catppuccin[@@lookup][@yellow];
    @green: @catppuccin[@@lookup][@green];
    @teal: @catppuccin[@@lookup][@teal];
    @sky: @catppuccin[@@lookup][@sky];
    @sapphire: @catppuccin[@@lookup][@sapphire];
    @blue: @catppuccin[@@lookup][@blue];
    @lavender: @catppuccin[@@lookup][@lavender];
    @text: @catppuccin[@@lookup][@text];
    @subtext1: @catppuccin[@@lookup][@subtext1];
    @subtext0: @catppuccin[@@lookup][@subtext0];
    @overlay2: @catppuccin[@@lookup][@overlay2];
    @overlay1: @catppuccin[@@lookup][@overlay1];
    @overlay0: @catppuccin[@@lookup][@overlay0];
    @surface2: @catppuccin[@@lookup][@surface2];
    @surface1: @catppuccin[@@lookup][@surface1];
    @surface0: @catppuccin[@@lookup][@surface0];
    @base: @catppuccin[@@lookup][@base];
    @mantle: @catppuccin[@@lookup][@mantle];
    @crust: @catppuccin[@@lookup][@crust];
    @accent: @catppuccin[@@lookup][@@accentColor];
    @contrast-color: @catppuccin[@@lookup][@@contrastColor];
    /* raw rgb needs to be defined for some reason */
    @rgb-raw: @red;

    /* rgbify function converts a less color variable to raw rgb in @rgb-raw */
    #rgbify(@color) {
      @rgb-raw: red(@color), green(@color), blue(@color);
    }

    & when (@lookup =latte) {
      --color-blue-dim: #rgbify(desaturate(lighten(@accent, 10%), 10%)) [
        @rgb-raw];
      .nav[data-v-62eacfff],
      .solid[data-v-62eacfff],
      .transparent[data-v-62eacfff]:hover {
        background: darken(@text, 10%);
        color: @base;
      }
    }

    & when not (@lookup =latte) {
      --color-blue-dim: #rgbify(desaturate(darken(@accent, 10%), 10%)) [
        @rgb-raw];
    }

    /* BASE VARIABLES */
    & {
      --color-background: #rgbify(@crust) [ @rgb-raw];
      --color-foreground: #rgbify(@base) [ @rgb-raw];
      --color-foreground-grey: #rgbify(@surface0) [ @rgb-raw];
      --color-foreground-grey-dark: #rgbify(@surface0) [ @rgb-raw];
      --color-foreground-blue: #rgbify(@mantle) [ @rgb-raw];
      --color-foreground-blue-dark: #rgbify(@mantle) [ @rgb-raw];
      --color-background-blue-dark: #rgbify(@subtext1) [ @rgb-raw];
      --color-overlay: #rgbify(@crust) [ @rgb-raw];
      --color-shadow: #rgbify(@mantle) [ @rgb-raw];
      --color-shadow-dark: #rgbify(@crust) [ @rgb-raw];
      --color-shadow-blue: #rgbify(@blue) [ @rgb-raw];
      --color-text: #rgbify(@text) [ @rgb-raw];
      --color-text-light: #rgbify(@subtext1) [ @rgb-raw];
      --color-text-lighter: #rgbify(@subtext0) [ @rgb-raw];
      --color-text-bright: #rgbify(@text) [ @rgb-raw];
      --color-blue: #rgbify(@accent) [ @rgb-raw];
      --color-white: 255, 255, 255;
      --color-black: 0, 0, 0;
      --color-red: #rgbify(@contrast-color) [ @rgb-raw];
      --color-peach: #rgbify(@maroon) [ @rgb-raw];
      --color-orange: #rgbify(@peach) [ @rgb-raw];
      --color-yellow: #rgbify(@yellow) [ @rgb-raw];
      --color-green: #rgbify(@green) [ @rgb-raw];
      --color-background-1200: #rgbify(@text) [ @rgb-raw];
      --color-background-1100: #rgbify(@text) [ @rgb-raw];
      --color-background-1000: #rgbify(@text) [ @rgb-raw];
      --color-background-900: #rgbify(@subtext1) [ @rgb-raw];
      --color-background-800: #rgbify(@subtext0) [ @rgb-raw];
      --color-background-700: #rgbify(@surface1) [ @rgb-raw];
      --color-background-600: #rgbify(@surface0) [ @rgb-raw];
      --color-background-500: #rgbify(@surface0) [ @rgb-raw];
      --color-background-400: #rgbify(@surface0) [ @rgb-raw];
      --color-background-300: #rgbify(@base) [ @rgb-raw];
      --color-background-200: #rgbify(@mantle) [ @rgb-raw];
      --color-background-100: #rgbify(@crust) [ @rgb-raw];
      --color-gray-1200: #rgbify(@text) [ @rgb-raw];
      --color-gray-1100: #rgbify(@text) [ @rgb-raw];
      --color-gray-1000: #rgbify(@text) [ @rgb-raw];
      --color-gray-900: #rgbify(@text) [ @rgb-raw];
      --color-gray-800: #rgbify(@overlay2) [ @rgb-raw];
      --color-gray-700: #rgbify(@overlay1) [ @rgb-raw];
      --color-gray-600: #rgbify(@overlay0) [ @rgb-raw];
      --color-gray-500: #rgbify(@surface2) [ @rgb-raw];
      --color-gray-400: #rgbify(@surface1) [ @rgb-raw];
      --color-gray-300: #rgbify(@surface0) [ @rgb-raw];
      --color-gray-200: #rgbify(@mantle) [ @rgb-raw];
      --color-gray-100: #rgbify(@crust) [ @rgb-raw];
      --color-blue-100: #rgbify(@text) [ @rgb-raw];
      --color-blue-200: #rgbify(@text) [ @rgb-raw];
      --color-blue-300: #rgbify(@text) [ @rgb-raw];
      --color-blue-400: #rgbify(@sapphire) [ @rgb-raw];
      --color-blue-500: #rgbify(@sapphire) [ @rgb-raw];
      --color-blue-600: #rgbify(@blue) [ @rgb-raw];
      --color-blue-700: #rgbify(@blue) [ @rgb-raw];
      --color-blue-800: #rgbify(@blue) [ @rgb-raw];
      --color-blue-900: #rgbify(@blue) [ @rgb-raw];
      --color-blue-1000: #rgbify(@blue) [ @rgb-raw];
      --color-green-100: #rgbify(@teal) [ @rgb-raw];
      --color-green-200: #rgbify(@green) [ @rgb-raw];
      --color-green-300: #rgbify(@green) [ @rgb-raw];
      --color-green-400: #rgbify(@green) [ @rgb-raw];
      --color-green-500: #rgbify(@green) [ @rgb-raw];
      --color-green-600: #rgbify(@green) [ @rgb-raw];
      --color-green-700: #rgbify(@green) [ @rgb-raw];
      --color-green-800: #rgbify(@green) [ @rgb-raw];
      --color-red-100: #rgbify(@text) [ @rgb-raw];
      --color-red-200: #rgbify(@flamingo) [ @rgb-raw];
      --color-red-300: #rgbify(@maroon) [ @rgb-raw];
      --color-red-400: #rgbify(@red) [ @rgb-raw];
      --color-red-500: #rgbify(@red) [ @rgb-raw];
      --color-red-600: #rgbify(@red) [ @rgb-raw];
      --color-red-700: #rgbify(@red) [ @rgb-raw];
    }
    /* DARK THEME SPECIFIC TWEAKS */
    & when not (@lookup =latte) {
      --color-background: #rgbify(@crust) [ @rgb-raw];
      --color-foreground: #rgbify(@base) [ @rgb-raw];
      --color-foreground-grey: #rgbify(@surface0) [ @rgb-raw];
      --color-foreground-grey-dark: #rgbify(@surface0) [ @rgb-raw];
      --color-foreground-blue: #rgbify(@mantle) [ @rgb-raw];
      --color-foreground-blue-dark: #rgbify(@mantle) [ @rgb-raw];
      --color-text: #rgbify(@text) [ @rgb-raw];
      --color-text-light: #rgbify(@subtext0) [ @rgb-raw];
      --color-text-lighter: #rgbify(@subtext1) [ @rgb-raw];
      --color-shadow-blue: #rgbify(@crust) [ @rgb-raw];
      --color-background-1200: #rgbify(@text) [ @rgb-raw];
      --color-background-1100: #rgbify(@text) [ @rgb-raw];
      --color-background-1000: #rgbify(@text) [ @rgb-raw];
      --color-background-900: #rgbify(@subtext1) [ @rgb-raw];
      --color-background-800: #rgbify(@subtext0) [ @rgb-raw];
      --color-background-700: #rgbify(@surface1) [ @rgb-raw];
      --color-background-600: #rgbify(@surface0) [ @rgb-raw];
      --color-background-500: #rgbify(@surface0) [ @rgb-raw];
      --color-background-400: #rgbify(@surface0) [ @rgb-raw];
      --color-background-300: #rgbify(@base) [ @rgb-raw];
      --color-background-200: #rgbify(@mantle) [ @rgb-raw];
      --color-background-100: #rgbify(@crust) [ @rgb-raw];
      --color-gray-1200: #rgbify(@text) [ @rgb-raw];
      --color-gray-1100: #rgbify(@text) [ @rgb-raw];
      --color-gray-1000: #rgbify(@text) [ @rgb-raw];
      --color-gray-900: #rgbify(@text) [ @rgb-raw];
      --color-gray-800: #rgbify(@overlay2) [ @rgb-raw];
      --color-gray-700: #rgbify(@overlay1) [ @rgb-raw];
      --color-gray-600: #rgbify(@overlay0) [ @rgb-raw];
      --color-gray-500: #rgbify(@surface2) [ @rgb-raw];
      --color-gray-400: #rgbify(@surface1) [ @rgb-raw];
      --color-gray-300: #rgbify(@surface0) [ @rgb-raw];
      --color-gray-200: #rgbify(@mantle) [ @rgb-raw];
      --color-gray-100: #rgbify(@crust) [ @rgb-raw];
    }
    /* DARK THEME NAV BAR */
    .nav-unscoped when not (@lookup =latte) {
      background-color: @mantle !important;
    }
    /*-----------------PROFILE FIXES-----------------*/
    #profileColor(@color) {
      --color-blue: #rgbify(@color) [ @rgb-raw];
      & when (@lookup =latte) {
        --color-blue-dim: #rgbify(lighten(@color, 10%)) [ @rgb-raw];
      }
      & when not (@lookup =latte) {
        --color-blue-dim: #rgbify(darken(@color, 10%)) [ @rgb-raw];
      }
      .progress .bar {
        background: linear-gradient(270deg, darken(@color, 10%), @color);
      }
    }
    .user-page-unscoped.orange {
      #profileColor(@peach);
    }
    .user-page-unscoped.green {
      #profileColor(@green);
    }
    .user-page-unscoped.purple {
      #profileColor(@mauve);
    }
    .user-page-unscoped.red {
      #profileColor(@red);
    }
    .user-page-unscoped.blue {
      #profileColor(@blue);
    }
    .user-page-unscoped.pink {
      #profileColor(@pink);
    }
    .user-page-unscoped.gray {
      #profileColor(@overlay1);
    }

    /*--------------Tags----------------*/
    .tag {
      background: @accent !important;
      color: @base !important;
    }
    .genre {
      color: @base !important;
    }

    /*----Tracking Status List Stuff----*/
    .list[data-v-5776f768],
    .el-icon-arrow-down:before {
      color: @mantle !important;
    }
    .el-dropdown-menu,
    .el-dropdown-menu__item--divided:before,
    .el-select-dropdown {
      background-color: @base !important;
    }
    .el-dropdown-menu {
      border: 4px @text !important;
    }
    .el-dropdown-menu__item:focus,
    .el-dropdown-menu__item:not(.is-disabled):hover {
      color: @crust !important;
    }
    .el-dropdown-menu__item--divided when not (@lookup =latte) {
      border-top-color: rgb(21, 31, 46);
    }
    .el-select-dropdown__item.hover,
    .el-select-dropdown__item:hover {
      background-color: @mantle;
    }

    /*---------SCORE TWEAKS--------------*/
    .score[data-v-5ca094da] {
      color: @base;
    }

    /*--------------FOOTER (It's hardcoded idk why anilist dumdum)----------*/
    .footer[data-v-0f519cab] {
      background: @crust;
      color: @subtext0;
    }

    /*------------------MISC EDITS--------------------*/
    /*--Reset button in notifications-----*/
    .reset-btn {
      color: @base !important;
    }
    /* Publish Button in Replies and Messages */
    .save {
      color: @base !important;
    }
    /*------------IMAGE COVER------------*/
    .cover .image-text,
    .plus-progress {
      color: @text !important;
    }

    .entry .plus-progress,
    .medialist.table .entry .edit {
      color: @base !important;
    }
    /*--------Settings button--------*/
    .settings[data-v-3deab077] .button {
      color: @crust;
    }
    .el-checkbox__input.is-checked .el-checkbox__inner,
    .el-radio__input.is-checked .el-radio__inner {
      background-color: @accent;
      border-color: @accent;
    }
    .el-checkbox__inner:after {
      border-color: @crust;
      border-width: 2px;
      left: 3px;
    }
    .el-radio__input.is-checked + .el-radio__label {
      color: @accent;
    }
    /*--------HIDE SCROLLBAR IN BIO-----*/
    .section::-webkit-scrollbar {
      display: none;
    }
    .section {
      -ms-overflow-style: none;
      scrollbar-width: none;
    }
    /*--------REMOVE DROPDOWN SHADOWS-----*/
    .dropdown.dropdown {
      box-shadow: none;
    }
    /*---------ANILIST LIKER PLUGIN------*/
    #AnilistLikerPlugin .mmd2 {
      font-style: normal !important;
      font-weight: 700;
      font-family: Overpass;
    }
    #AnilistLikerPlugin .btntop {
      margin-bottom: -4px;
      margin-top: 5px;
    }
    #AnilistLikerPlugin .btnbottom {
      margin-top: -2px;
    }
  }
}

@-moz-document domain("anichart.net") {
  body:not(.site-theme-dark) {
    #catppuccin(@lightFlavor, @accentColor);
  }
  .site-theme-dark {
    #catppuccin(@darkFlavor, @accentColor);
  }

  @catppuccin: {
    @latte: {
      @rosewater: #dc8a78;
      @flamingo: #dd7878;
      @pink: #ea76cb;
      @mauve: #8839ef;
      @red: #d20f39;
      @maroon: #e64553;
      @peach: #fe640b;
      @yellow: #df8e1d;
      @green: #40a02b;
      @teal: #179299;
      @sky: #04a5e5;
      @sapphire: #209fb5;
      @blue: #1e66f5;
      @lavender: #7287fd;
      @text: #4c4f69;
      @subtext1: #5c5f77;
      @subtext0: #6c6f85;
      @overlay2: #7c7f93;
      @overlay1: #8c8fa1;
      @overlay0: #9ca0b0;
      @surface2: #acb0be;
      @surface1: #bcc0cc;
      @surface0: #ccd0da;
      @base: #eff1f5;
      @mantle: #e6e9ef;
      @crust: #dce0e8;
    };
    @frappe: {
      @rosewater: #f2d5cf;
      @flamingo: #eebebe;
      @pink: #f4b8e4;
      @mauve: #ca9ee6;
      @red: #e78284;
      @maroon: #ea999c;
      @peach: #ef9f76;
      @yellow: #e5c890;
      @green: #a6d189;
      @teal: #81c8be;
      @sky: #99d1db;
      @sapphire: #85c1dc;
      @blue: #8caaee;
      @lavender: #babbf1;
      @text: #c6d0f5;
      @subtext1: #b5bfe2;
      @subtext0: #a5adce;
      @overlay2: #949cbb;
      @overlay1: #838ba7;
      @overlay0: #737994;
      @surface2: #626880;
      @surface1: #51576d;
      @surface0: #414559;
      @base: #303446;
      @mantle: #292c3c;
      @crust: #232634;
    };
    @macchiato: {
      @rosewater: #f4dbd6;
      @flamingo: #f0c6c6;
      @pink: #f5bde6;
      @mauve: #c6a0f6;
      @red: #ed8796;
      @maroon: #ee99a0;
      @peach: #f5a97f;
      @yellow: #eed49f;
      @green: #a6da95;
      @teal: #8bd5ca;
      @sky: #91d7e3;
      @sapphire: #7dc4e4;
      @blue: #8aadf4;
      @lavender: #b7bdf8;
      @text: #cad3f5;
      @subtext1: #b8c0e0;
      @subtext0: #a5adcb;
      @overlay2: #939ab7;
      @overlay1: #8087a2;
      @overlay0: #6e738d;
      @surface2: #5b6078;
      @surface1: #494d64;
      @surface0: #363a4f;
      @base: #24273a;
      @mantle: #1e2030;
      @crust: #181926;
    };
    @mocha: {
      @rosewater: #f5e0dc;
      @flamingo: #f2cdcd;
      @pink: #f5c2e7;
      @mauve: #cba6f7;
      @red: #f38ba8;
      @maroon: #eba0ac;
      @peach: #fab387;
      @yellow: #f9e2af;
      @green: #a6e3a1;
      @teal: #94e2d5;
      @sky: #89dceb;
      @sapphire: #74c7ec;
      @blue: #89b4fa;
      @lavender: #b4befe;
      @text: #cdd6f4;
      @subtext1: #bac2de;
      @subtext0: #a6adc8;
      @overlay2: #9399b2;
      @overlay1: #7f849c;
      @overlay0: #6c7086;
      @surface2: #585b70;
      @surface1: #45475a;
      @surface0: #313244;
      @base: #1e1e2e;
      @mantle: #181825;
      @crust: #11111b;
    };
  };

  #rgbify(@color) {
    @rgb-raw: red(@color) green(@color) blue(@color);
  }

  #catppuccin(@lookup, @accent) {
    @rosewater: @catppuccin[@@lookup][@rosewater];
    @flamingo: @catppuccin[@@lookup][@flamingo];
    @pink: @catppuccin[@@lookup][@pink];
    @mauve: @catppuccin[@@lookup][@mauve];
    @red: @catppuccin[@@lookup][@red];
    @maroon: @catppuccin[@@lookup][@maroon];
    @peach: @catppuccin[@@lookup][@peach];
    @yellow: @catppuccin[@@lookup][@yellow];
    @green: @catppuccin[@@lookup][@green];
    @teal: @catppuccin[@@lookup][@teal];
    @sky: @catppuccin[@@lookup][@sky];
    @sapphire: @catppuccin[@@lookup][@sapphire];
    @blue: @catppuccin[@@lookup][@blue];
    @lavender: @catppuccin[@@lookup][@lavender];
    @text: @catppuccin[@@lookup][@text];
    @subtext1: @catppuccin[@@lookup][@subtext1];
    @subtext0: @catppuccin[@@lookup][@subtext0];
    @overlay2: @catppuccin[@@lookup][@overlay2];
    @overlay1: @catppuccin[@@lookup][@overlay1];
    @overlay0: @catppuccin[@@lookup][@overlay0];
    @surface2: @catppuccin[@@lookup][@surface2];
    @surface1: @catppuccin[@@lookup][@surface1];
    @surface0: @catppuccin[@@lookup][@surface0];
    @base: @catppuccin[@@lookup][@base];
    @mantle: @catppuccin[@@lookup][@mantle];
    @crust: @catppuccin[@@lookup][@crust];
    @accent: @catppuccin[@@lookup][@@accentColor];
    @contrast-color: @catppuccin[@@lookup][@@contrastColor];
    /* raw rgb needs to be defined for some reason */
    @rgb-raw: @red;

    /* rgbify function converts a less color variable to raw rgb in @rgb-raw */
    #rgbify(@color) {
      @rgb-raw: red(@color), green(@color), blue(@color);
    }

    & when (@lookup =latte) {
      --color-blue-dim: #rgbify(desaturate(lighten(@accent, 10%), 10%)) [
        @rgb-raw];
      .nav[data-v-62eacfff],
      .solid[data-v-62eacfff],
      .transparent[data-v-62eacfff]:hover {
        background: darken(@text, 10%);
        color: @base;
      }
    }

    & when not (@lookup =latte) {
      --color-blue-dim: #rgbify(desaturate(darken(@accent, 10%), 10%)) [
        @rgb-raw];
    }

    /* BASE VARIABLES */
    & {
      --color-background: #rgbify(@crust) [ @rgb-raw];
      --color-foreground: #rgbify(@base) [ @rgb-raw];
      --color-foreground-grey: #rgbify(@surface0) [ @rgb-raw];
      --color-foreground-grey-dark: #rgbify(@surface0) [ @rgb-raw];
      --color-foreground-blue: #rgbify(@mantle) [ @rgb-raw];
      --color-foreground-blue-dark: #rgbify(@mantle) [ @rgb-raw];
      --color-background-blue-dark: #rgbify(@subtext1) [ @rgb-raw];
      --color-overlay: #rgbify(@crust) [ @rgb-raw];
      --color-shadow: #rgbify(@mantle) [ @rgb-raw];
      --color-shadow-dark: #rgbify(@crust) [ @rgb-raw];
      --color-shadow-blue: #rgbify(@blue) [ @rgb-raw];
      --color-text: #rgbify(@text) [ @rgb-raw];
      --color-text-light: #rgbify(@subtext1) [ @rgb-raw];
      --color-text-lighter: #rgbify(@subtext0) [ @rgb-raw];
      --color-text-bright: #rgbify(@text) [ @rgb-raw];
      --color-blue: #rgbify(@accent) [ @rgb-raw];
      --color-white: 255, 255, 255;
      --color-black: 0, 0, 0;
      --color-red: #rgbify(@contrast-color) [ @rgb-raw];
      --color-peach: #rgbify(@maroon) [ @rgb-raw];
      --color-orange: #rgbify(@peach) [ @rgb-raw];
      --color-yellow: #rgbify(@yellow) [ @rgb-raw];
      --color-green: #rgbify(@green) [ @rgb-raw];
      --color-background-1200: #rgbify(@text) [ @rgb-raw];
      --color-background-1100: #rgbify(@text) [ @rgb-raw];
      --color-background-1000: #rgbify(@text) [ @rgb-raw];
      --color-background-900: #rgbify(@subtext1) [ @rgb-raw];
      --color-background-800: #rgbify(@subtext0) [ @rgb-raw];
      --color-background-700: #rgbify(@surface1) [ @rgb-raw];
      --color-background-600: #rgbify(@surface0) [ @rgb-raw];
      --color-background-500: #rgbify(@surface0) [ @rgb-raw];
      --color-background-400: #rgbify(@surface0) [ @rgb-raw];
      --color-background-300: #rgbify(@base) [ @rgb-raw];
      --color-background-200: #rgbify(@mantle) [ @rgb-raw];
      --color-background-100: #rgbify(@crust) [ @rgb-raw];
      --color-gray-1200: #rgbify(@text) [ @rgb-raw];
      --color-gray-1100: #rgbify(@text) [ @rgb-raw];
      --color-gray-1000: #rgbify(@text) [ @rgb-raw];
      --color-gray-900: #rgbify(@text) [ @rgb-raw];
      --color-gray-800: #rgbify(@overlay2) [ @rgb-raw];
      --color-gray-700: #rgbify(@overlay1) [ @rgb-raw];
      --color-gray-600: #rgbify(@overlay0) [ @rgb-raw];
      --color-gray-500: #rgbify(@surface2) [ @rgb-raw];
      --color-gray-400: #rgbify(@surface1) [ @rgb-raw];
      --color-gray-300: #rgbify(@surface0) [ @rgb-raw];
      --color-gray-200: #rgbify(@mantle) [ @rgb-raw];
      --color-gray-100: #rgbify(@crust) [ @rgb-raw];
      --color-blue-100: #rgbify(@text) [ @rgb-raw];
      --color-blue-200: #rgbify(@text) [ @rgb-raw];
      --color-blue-300: #rgbify(@text) [ @rgb-raw];
      --color-blue-400: #rgbify(@sapphire) [ @rgb-raw];
      --color-blue-500: #rgbify(@sapphire) [ @rgb-raw];
      --color-blue-600: #rgbify(@blue) [ @rgb-raw];
      --color-blue-700: #rgbify(@blue) [ @rgb-raw];
      --color-blue-800: #rgbify(@blue) [ @rgb-raw];
      --color-blue-900: #rgbify(@blue) [ @rgb-raw];
      --color-blue-1000: #rgbify(@blue) [ @rgb-raw];
      --color-green-100: #rgbify(@teal) [ @rgb-raw];
      --color-green-200: #rgbify(@green) [ @rgb-raw];
      --color-green-300: #rgbify(@green) [ @rgb-raw];
      --color-green-400: #rgbify(@green) [ @rgb-raw];
      --color-green-500: #rgbify(@green) [ @rgb-raw];
      --color-green-600: #rgbify(@green) [ @rgb-raw];
      --color-green-700: #rgbify(@green) [ @rgb-raw];
      --color-green-800: #rgbify(@green) [ @rgb-raw];
      --color-red-100: #rgbify(@text) [ @rgb-raw];
      --color-red-200: #rgbify(@flamingo) [ @rgb-raw];
      --color-red-300: #rgbify(@maroon) [ @rgb-raw];
      --color-red-400: #rgbify(@red) [ @rgb-raw];
      --color-red-500: #rgbify(@red) [ @rgb-raw];
      --color-red-600: #rgbify(@red) [ @rgb-raw];
      --color-red-700: #rgbify(@red) [ @rgb-raw];
    }
    /* DARK THEME SPECIFIC TWEAKS */
    & when not (@lookup =latte) {
      --color-background: #rgbify(@crust) [ @rgb-raw];
      --color-foreground: #rgbify(@base) [ @rgb-raw];
      --color-foreground-grey: #rgbify(@surface0) [ @rgb-raw];
      --color-foreground-grey-dark: #rgbify(@surface0) [ @rgb-raw];
      --color-foreground-blue: #rgbify(@mantle) [ @rgb-raw];
      --color-foreground-blue-dark: #rgbify(@mantle) [ @rgb-raw];
      --color-text: #rgbify(@text) [ @rgb-raw];
      --color-text-light: #rgbify(@subtext0) [ @rgb-raw];
      --color-text-lighter: #rgbify(@subtext1) [ @rgb-raw];
      --color-shadow-blue: #rgbify(@crust) [ @rgb-raw];
      --color-background-1200: #rgbify(@text) [ @rgb-raw];
      --color-background-1100: #rgbify(@text) [ @rgb-raw];
      --color-background-1000: #rgbify(@text) [ @rgb-raw];
      --color-background-900: #rgbify(@subtext1) [ @rgb-raw];
      --color-background-800: #rgbify(@subtext0) [ @rgb-raw];
      --color-background-700: #rgbify(@surface1) [ @rgb-raw];
      --color-background-600: #rgbify(@surface0) [ @rgb-raw];
      --color-background-500: #rgbify(@surface0) [ @rgb-raw];
      --color-background-400: #rgbify(@surface0) [ @rgb-raw];
      --color-background-300: #rgbify(@base) [ @rgb-raw];
      --color-background-200: #rgbify(@mantle) [ @rgb-raw];
      --color-background-100: #rgbify(@crust) [ @rgb-raw];
      --color-gray-1200: #rgbify(@text) [ @rgb-raw];
      --color-gray-1100: #rgbify(@text) [ @rgb-raw];
      --color-gray-1000: #rgbify(@text) [ @rgb-raw];
      --color-gray-900: #rgbify(@text) [ @rgb-raw];
      --color-gray-800: #rgbify(@overlay2) [ @rgb-raw];
      --color-gray-700: #rgbify(@overlay1) [ @rgb-raw];
      --color-gray-600: #rgbify(@overlay0) [ @rgb-raw];
      --color-gray-500: #rgbify(@surface2) [ @rgb-raw];
      --color-gray-400: #rgbify(@surface1) [ @rgb-raw];
      --color-gray-300: #rgbify(@surface0) [ @rgb-raw];
      --color-gray-200: #rgbify(@mantle) [ @rgb-raw];
      --color-gray-100: #rgbify(@crust) [ @rgb-raw];
    }
    /* DARK THEME NAV BAR */
    .nav-unscoped when not (@lookup =latte) {
      background-color: @mantle !important;
    }
    /*-----------------PROFILE FIXES-----------------*/
    #profileColor(@color) {
      --color-blue: #rgbify(@color) [ @rgb-raw];
      & when (@lookup =latte) {
        --color-blue-dim: #rgbify(lighten(@color, 10%)) [ @rgb-raw];
      }
      & when not (@lookup =latte) {
        --color-blue-dim: #rgbify(darken(@color, 10%)) [ @rgb-raw];
      }
      .progress .bar {
        background: linear-gradient(270deg, darken(@color, 10%), @color);
      }
    }
    .user-page-unscoped.orange {
      #profileColor(@peach);
    }
    .user-page-unscoped.green {
      #profileColor(@green);
    }
    .user-page-unscoped.purple {
      #profileColor(@mauve);
    }
    .user-page-unscoped.red {
      #profileColor(@red);
    }
    .user-page-unscoped.blue {
      #profileColor(@blue);
    }
    .user-page-unscoped.pink {
      #profileColor(@pink);
    }
    .user-page-unscoped.gray {
      #profileColor(@overlay1);
    }

    /*--------------Tags----------------*/
    .tag {
      background: @accent !important;
      color: @base !important;
    }
    .genre {
      color: @base !important;
    }

    /*----Tracking Status List Stuff----*/
    .list[data-v-5776f768],
    .el-icon-arrow-down:before {
      color: @mantle !important;
    }
    .el-dropdown-menu,
    .el-dropdown-menu__item--divided:before,
    .el-select-dropdown {
      background-color: @base !important;
    }
    .el-dropdown-menu {
      border: 4px @text !important;
    }
    .el-dropdown-menu__item:focus,
    .el-dropdown-menu__item:not(.is-disabled):hover {
      color: @crust !important;
    }
    .el-dropdown-menu__item--divided when not (@lookup =latte) {
      border-top-color: rgb(21, 31, 46);
    }
    .el-select-dropdown__item.hover,
    .el-select-dropdown__item:hover {
      background-color: @mantle;
    }

    /*---------SCORE TWEAKS--------------*/
    .score[data-v-5ca094da] {
      color: @base;
    }

    /*--------------FOOTER (It's hardcoded idk why anilist dumdum)----------*/
    .footer[data-v-0f519cab] {
      background: @crust;
      color: @subtext0;
    }

    /*------------------MISC EDITS--------------------*/
    /*--Reset button in notifications-----*/
    .reset-btn {
      color: @base !important;
    }
    /* Publish Button in Replies and Messages */
    .save {
      color: @base !important;
    }
    /*------------IMAGE COVER------------*/
    .cover .image-text,
    .plus-progress {
      color: @text !important;
    }

    .entry .plus-progress,
    .medialist.table .entry .edit {
      color: @base !important;
    }
    /*--------Settings button--------*/
    .settings[data-v-3deab077] .button {
      color: @crust;
    }
    .el-checkbox__input.is-checked .el-checkbox__inner,
    .el-radio__input.is-checked .el-radio__inner {
      background-color: @accent;
      border-color: @accent;
    }
    .el-checkbox__inner:after {
      border-color: @crust;
      border-width: 2px;
      left: 3px;
    }
    .el-radio__input.is-checked + .el-radio__label {
      color: @accent;
    }
    /*--------HIDE SCROLLBAR IN BIO-----*/
    .section::-webkit-scrollbar {
      display: none;
    }
    .section {
      -ms-overflow-style: none;
      scrollbar-width: none;
    }
    /*--------REMOVE DROPDOWN SHADOWS-----*/
    .dropdown.dropdown {
      box-shadow: none;
    }
    /*---------ANILIST LIKER PLUGIN------*/
    #AnilistLikerPlugin .mmd2 {
      font-style: normal !important;
      font-weight: 700;
      font-family: Overpass;
    }
    #AnilistLikerPlugin .btntop {
      margin-bottom: -4px;
      margin-top: 5px;
    }
    #AnilistLikerPlugin .btnbottom {
      margin-top: -2px;
    }

    /*--------ANICHART SPECIFIC TWEAKS----*/
    .login[data-v-0d5bfbcd],
    .login[data-v-0d5bfbcd]:hover {
      color: @base;
    }

    .nav[data-v-e2f25004] {
      background: @crust;
    }
    .season[data-v-e2f25004],
    .charts .label[data-v-e2f25004],
    .charts .svg-icon[data-v-e2f25004],
    .section:first-of-type .section-heading[data-v-309146c2],
    a.title[data-v-09928904] {
      color: @text;
    }
    .season.router-link-active[data-v-e2f25004],
    .charts a:hover .svg-icon[data-v-e2f25004],
    .season[data-v-e2f25004]:hover,
    .charts .router-link-active .svg-icon[data-v-e2f25004] {
      color: @accent;
    }
    .settings[data-v-3deab077] .button.danger {
      color: @base;
    }
    /* AUTOMAIL TWEAK */
    .site-theme-dark .el-popper .el-dropdown-menu__item:focus,
    .el-popper .el-dropdown-menu__item:not(.is-disabled):hover {
      color: @accent !important;
    }
    .hohMediaScore {
      font-size: 90%;
      font-family: Overpass;
      border: 2px solid @surface0;
      padding: 4px;
      border-radius: 10px;
      margin-left: 0px;
      background-color: @base;
      color: @accent;
    }
    .filter-group.compare-btn,
    .hohButton {
      color: @base;
    }
    .hohButton {
      background-color: @accent;
    }
    .medialist.table .entry:hover,
    .medialist.table .entry .title a:hover,
    .compare-btn[data-v-170179fc]:hover {
      color: @base;
    }
    .hohCompare table {
      background-color: @crust;
    }
    .hohAnimeTable,
    .hohAnimeTable td,
    .hohUserRow td,
    .hohUserRow th,
    .hohHeaderRow td,
    .hohHeaderRow th {
      border: 2px solid @surface0 !important;
    }
    .hohUserRow td {
      border-top: 4px solid @surface0 !important;
    }
    .hohUserRow tr {
      border-right: 4px solid @surface0 !important;
    }

    /*---------ANILIST LIKER PLUGIN------*/
    #AnilistLikerPlugin .mmd2 {
      font-style: normal !important;
      font-weight: 700;
      font-family: Overpass;
    }
    #AnilistLikerPlugin .btntop {
      margin-bottom: -4px;
      margin-top: 5px;
    }
    #AnilistLikerPlugin .btnbottom {
      margin-top: -2px;
    }
  }
}