/* =========================================================
   SUZZY THEME — OLED EDITION
   =========================================================
   EASY EDIT SECTION — tweak these to change the whole theme
   ========================================================= */

:root {
    /* --- Accent color & scale --- */
    --custom-accent:           #a1a8ff;   /* base accent (periwinkle) */
    --custom-accent-contrast:  #05050f;   /* text ON accent buttons */
    --custom-accent-d1:        #8d94f0;   /* hover */
    --custom-accent-d2:        #7a81e0;   /* active */
    --custom-accent-d3:        #676ed0;
    --custom-accent-d4:        #545bc0;
    --custom-accent-d5:        #363ba0;
    --custom-accent-d6:        #1a1f70;
    --custom-accent-d7:        #0a0d40;
    --custom-accent-l1:        #aab0ff;
    --custom-accent-l2:        #b3baff;
    --custom-accent-l3:        #bcc2ff;
    --custom-accent-l4:        #c5caff;
    --custom-accent-l5:        #d5d8ff;
    --custom-accent-l6:        #e8eaff;
    --custom-accent-l7:        #f5f6ff;

    /* --- OLED blacks --- */
    --custom-bg-body:          #000000;   /* page background */
    --custom-bg-nav:           #000000;   /* top navbar */
    --custom-bg-secondary-nav: #020204;   /* secondary nav */
    --custom-bg-box:           #050508;   /* card/box headers */
    --custom-bg-box-body:      #030306;   /* card/box body */
    --custom-bg-input:         #07070e;   /* input fields */
    --custom-bg-menu:          #030306;   /* dropdowns */
    --custom-bg-code:          #020204;   /* code blocks */
    --custom-bg-console:       #000000;   /* terminal bg */
    --custom-bg-highlight:     #0a0a14;   /* hovered rows etc */
}

/* =========================================================
   END EASY EDIT SECTION — here be dragons below
   ========================================================= */

gitea-theme-meta-info {
    --theme-display-name: "suzzy";
    --theme-color-scheme: "dark"
}

:root {
    --is-dark-theme: true;

    /* remap primaries to accent scale */
    --color-primary:           var(--custom-accent);
    --color-primary-contrast:  var(--custom-accent-contrast);
    --color-primary-dark-1:    var(--custom-accent-l1);
    --color-primary-dark-2:    var(--custom-accent-l2);
    --color-primary-dark-3:    var(--custom-accent-l3);
    --color-primary-dark-4:    var(--custom-accent-l4);
    --color-primary-dark-5:    var(--custom-accent-l5);
    --color-primary-dark-6:    var(--custom-accent-l6);
    --color-primary-dark-7:    var(--custom-accent-l7);
    --color-primary-light-1:   var(--custom-accent-d1);
    --color-primary-light-2:   var(--custom-accent-d2);
    --color-primary-light-3:   var(--custom-accent-d3);
    --color-primary-light-4:   var(--custom-accent-d4);
    --color-primary-light-5:   var(--custom-accent-d5);
    --color-primary-light-6:   var(--custom-accent-d6);
    --color-primary-light-7:   var(--custom-accent-d7);
    --color-primary-alpha-10:  #a1a8ff19;
    --color-primary-alpha-20:  #a1a8ff33;
    --color-primary-alpha-30:  #a1a8ff4b;
    --color-primary-alpha-40:  #a1a8ff66;
    --color-primary-alpha-50:  #a1a8ff80;
    --color-primary-alpha-60:  #a1a8ff99;
    --color-primary-alpha-70:  #a1a8ffb3;
    --color-primary-alpha-80:  #a1a8ffcc;
    --color-primary-alpha-90:  #a1a8ffe1;
    --color-primary-hover:     var(--color-primary-light-1);
    --color-primary-active:    var(--color-primary-light-2);

    --color-secondary: #3f4248;
    --color-secondary-dark-1: #46494f;
    --color-secondary-dark-2: #4f5259;
    --color-secondary-dark-3: #5e626a;
    --color-secondary-dark-4: #6f747d;
    --color-secondary-dark-5: #7d828c;
    --color-secondary-dark-6: #8b8f98;
    --color-secondary-dark-7: #999da4;
    --color-secondary-dark-8: #a8abb1;
    --color-secondary-dark-9: #aeb1b8;
    --color-secondary-dark-10: #bbbec3;
    --color-secondary-dark-11: #c8cacf;
    --color-secondary-dark-12: #d2d4d7;
    --color-secondary-dark-13: #d5d6d9;
    --color-secondary-light-1: #35373c;
    --color-secondary-light-2: #2c2e32;
    --color-secondary-light-3: #1f2124;
    --color-secondary-light-4: #191a1c;
    --color-secondary-alpha-10: #3f424819;
    --color-secondary-alpha-20: #3f424833;
    --color-secondary-alpha-30: #3f42484b;
    --color-secondary-alpha-40: #3f424866;
    --color-secondary-alpha-50: #3f424880;
    --color-secondary-alpha-60: #3f424899;
    --color-secondary-alpha-70: #3f4248b3;
    --color-secondary-alpha-80: #3f4248cc;
    --color-secondary-alpha-90: #3f4248e1;
    --color-secondary-button: var(--color-secondary-dark-4);
    --color-secondary-hover: var(--color-secondary-dark-3);
    --color-secondary-active: var(--color-secondary-dark-2);

    /* console */
    --color-console-fg: #f8f8f8;
    --color-console-fg-subtle: #c1c3c8;
    --color-console-bg:        var(--custom-bg-console);
    --color-console-border: #1a1a2e;
    --color-console-hover-bg: #0a0a18;
    --color-console-active-bg: #0f0f20;
    --color-console-menu-bg:   #050510;
    --color-console-menu-border: #1a1a30;
    --color-console-link: #7a81e0;

    /* status colors */
    --color-red: #cc4848;
    --color-orange: #cc580c;
    --color-yellow: #cc9903;
    --color-olive: #91a313;
    --color-green: #87ab63;
    --color-teal: #00918a;
    --color-blue: #3a8ac6;
    --color-violet: #906ae1;
    --color-purple: #b259d0;
    --color-pink: #d22e8b;
    --color-brown: #a47252;
    --color-black: #000000;
    --color-red-light: #d15a5a;
    --color-orange-light: #f6a066;
    --color-yellow-light: #eaaf03;
    --color-olive-light: #abc016;
    --color-green-light: #93b373;
    --color-teal-light: #00b6ad;
    --color-blue-light: #4e96cc;
    --color-violet-light: #9b79e4;
    --color-purple-light: #ba6ad5;
    --color-pink-light: #d74397;
    --color-brown-light: #b08061;
    --color-black-light: #45484e;
    --color-red-dark-1: #c23636;
    --color-orange-dark-1: #f38236;
    --color-yellow-dark-1: #b88a03;
    --color-olive-dark-1: #839311;
    --color-green-dark-1: #7a9e55;
    --color-teal-dark-1: #00837c;
    --color-blue-dark-1: #347cb3;
    --color-violet-dark-1: #7b4edb;
    --color-purple-dark-1: #a742c9;
    --color-pink-dark-1: #be297d;
    --color-brown-dark-1: #94674a;
    --color-black-dark-1: #050508;
    --color-red-dark-2: #ad3030;
    --color-orange-dark-2: #f16e17;
    --color-yellow-dark-2: #a37a02;
    --color-olive-dark-2: #74820f;
    --color-green-dark-2: #6c8c4c;
    --color-teal-dark-2: #00746e;
    --color-blue-dark-2: #2e6e9f;
    --color-violet-dark-2: #6733d6;
    --color-purple-dark-2: #9834b9;
    --color-pink-dark-2: #a9246f;
    --color-brown-dark-2: #835b42;
    --color-black-dark-2: #030306;

    /* ANSI */
    --color-ansi-black: #000000;
    --color-ansi-red: #cc4848;
    --color-ansi-green: #87ab63;
    --color-ansi-yellow: #cc9903;
    --color-ansi-blue: #3a8ac6;
    --color-ansi-magenta: #d22e8b;
    --color-ansi-cyan: #00918a;
    --color-ansi-white: var(--color-console-fg-subtle);
    --color-ansi-bright-black: #45484e;
    --color-ansi-bright-red: #d15a5a;
    --color-ansi-bright-green: #93b373;
    --color-ansi-bright-yellow: #eaaf03;
    --color-ansi-bright-blue: #4e96cc;
    --color-ansi-bright-magenta: #d74397;
    --color-ansi-bright-cyan: #00b6ad;
    --color-ansi-bright-white: var(--color-console-fg);

    --color-grey: #1a1a2e;
    --color-grey-light: #6b7080;
    --color-gold: #b1983b;
    --color-white: #ffffff;

    /* diffs */
    --color-diff-added-fg: #87ab63;
    --color-diff-added-linenum-bg: #0d1f0d;
    --color-diff-added-row-bg: #081408;
    --color-diff-added-row-border: #1a3020;
    --color-diff-added-word-bg: #1e3f1e;
    --color-diff-moved-row-bg: #2a2a10;
    --color-diff-moved-row-border: #6b6a30;
    --color-diff-removed-fg: #cc4848;
    --color-diff-removed-linenum-bg: #1f0808;
    --color-diff-removed-row-bg: #140505;
    --color-diff-removed-row-border: #3a1515;
    --color-diff-removed-word-bg: #3f1515;
    --color-diff-inactive: #080810;

    /* alerts */
    --color-error-border: #4a1818;
    --color-error-bg: #0f0508;
    --color-error-bg-active: #1a0a0c;
    --color-error-bg-hover: #130608;
    --color-error-text: #f85149;
    --color-success-border: #0d2e1a;
    --color-success-bg: #060f0a;
    --color-success-text: #3fb950;
    --color-warning-border: #2e1f05;
    --color-warning-bg: #0f0b02;
    --color-warning-text: #d29922;
    --color-info-border: #0d1f40;
    --color-info-bg: #05080f;
    --color-info-text: #a1a8ff;
    --color-priority-border: #1e0e40;
    --color-priority-bg: #08050f;
    --color-priority-text: #a1a8ff;

    /* badges */
    --color-red-badge: #db2828;
    --color-red-badge-bg: #db28281a;
    --color-red-badge-hover-bg: #db28284d;
    --color-green-badge: #21ba45;
    --color-green-badge-bg: #21ba451a;
    --color-green-badge-hover-bg: #21ba454d;
    --color-yellow-badge: #fbbd08;
    --color-yellow-badge-bg: #fbbd081a;
    --color-yellow-badge-hover-bg: #fbbd084d;
    --color-orange-badge: #f2711c;
    --color-orange-badge-bg: #f2711c1a;
    --color-orange-badge-hover-bg: #f2711c4d;

    --color-git: #f05133;
    --color-logo: #609926;

    /* OLED backgrounds */
    --color-body:              var(--custom-bg-body);
    --color-box-header:        var(--custom-bg-box);
    --color-box-body:          var(--custom-bg-box-body);
    --color-box-body-highlight: var(--custom-bg-highlight);
    --color-nav-bg:            var(--custom-bg-nav);
    --color-nav-hover-bg:      #0a0a18;
    --color-nav-text:          var(--color-text);
    --color-secondary-nav-bg:  var(--custom-bg-secondary-nav);
    --color-menu:              var(--custom-bg-menu);
    --color-card:              var(--custom-bg-box-body);
    --color-input-background:  var(--custom-bg-input);
    --color-input-toggle-background: #0f0f20;
    --color-code-bg:           var(--custom-bg-code);
    --color-button:            var(--custom-bg-box);
    --color-secondary-bg:      #0a0a14;

    /* text */
    --color-text-dark: #f0f0ff;
    --color-text: #c8cae8;
    --color-text-light: #a8aad0;
    --color-text-light-1: #8890b8;
    --color-text-light-2: #6870a0;
    --color-text-light-3: #505878;
    --color-input-text: var(--color-text-dark);
    --color-placeholder-text: var(--color-text-light-3);

    /* misc */
    --color-footer: var(--color-nav-bg);
    --color-timeline: #0f0f20;
    --color-input-border: #1a1a30;
    --color-light: #a1a8ff10;
    --color-light-border: #a1a8ff18;
    --color-hover: #a1a8ff0f;
    --color-hover-opaque: #07071a;
    --color-active: #a1a8ff18;
    --color-markup-table-row: #a1a8ff08;
    --color-markup-code-block: #a1a8ff0a;
    --color-markup-code-inline: #a1a8ff18;
    --color-shadow: #00000070;
    --color-shadow-opaque: #000000;
    --color-expand-button: #0f0f20;
    --color-editor-line-highlight: var(--color-secondary-alpha-40);
    --color-editor-selection: var(--color-primary-alpha-50);
    --color-project-column-bg: #07070f;
    --color-caret: var(--color-text);
    --color-reaction-bg: #a1a8ff0a;
    --color-reaction-hover-bg: var(--color-primary-light-4);
    --color-reaction-active-bg: var(--color-primary-light-5);
    --color-tooltip-text: #f0f0ff;
    --color-tooltip-bg: #000000f0;
    --color-label-text: var(--color-text);
    --color-label-bg: #a1a8ff20;
    --color-label-hover-bg: #a1a8ff50;
    --color-label-active-bg: #a1a8ffaa;
    --color-accent: var(--color-primary-light-1);
    --color-small-accent: var(--color-primary-light-5);
    --color-highlight-fg: #a1a8ff;
    --color-highlight-bg: #0d0d30;
    --color-overlay-backdrop: #000000d0;
    --color-danger: var(--color-red);
    --color-transparency-grid-light: #0a0a14;
    --color-transparency-grid-dark: #000000;
    --color-workflow-edge-hover: #3a3a60;

    /* syntax */
    --color-syntax-keyword: #ff8854;
    --color-syntax-bool: #25bbc9;
    --color-syntax-control: #dd9e17;
    --color-syntax-name: #c7a618;
    --color-syntax-type: #eb8cb3;
    --color-syntax-number: #63b2dd;
    --color-syntax-operator: #ff8854;
    --color-syntax-regexp: #b89de4;
    --color-syntax-string: #95b62a;
    --color-syntax-comment: #505878;
    --color-syntax-invalid: #ff8686;
    --color-syntax-link: var(--custom-accent);
    --color-syntax-tag: #ff8854;
    --color-syntax-attribute: #c792ff;
    --color-syntax-property: #a1a8ff;
    --color-syntax-variable: #e29b33;
    --color-syntax-string-special: #dd9e17;
    --color-syntax-escape: #c7a618;
    --color-syntax-entity: #c792ff;
    --color-syntax-preproc: #4cbe7a;
    --color-syntax-preproc-file: #63b2dd;
    --color-syntax-decorator: #4cbe7a;
    --color-syntax-namespace: #c8cae8;
    --color-syntax-name-pseudo: #c792ff;
    --color-syntax-comment-special: #b89de4;
    --color-syntax-text: #c8cae8;
    --color-syntax-text-alt: #a8aad0;
    --color-syntax-punctuation: #c8cae8;
    --color-syntax-whitespace: #505878;
    --color-syntax-diff-fg: #ffffff;
    --color-syntax-deleted-bg: #3f1515;
    --color-syntax-inserted-bg: #1e3f1e;
    --color-syntax-emph: #d1a242;
    --color-syntax-strong: #e29b33;
    --color-syntax-heading: #a1a8ff;
    --color-syntax-subheading: #7a81e0;
    --color-syntax-output: #505878;
    --color-syntax-prompt: #a1a8ff;
    --color-syntax-traceback: #ff8686;
    --color-syntax-matching-bracket-bg: #a1a8ff30;
    --color-syntax-nonmatching-bracket-bg: #cc484848;

    accent-color: var(--color-accent);
    color-scheme: dark
}

.emoji[aria-label="check mark"],
.emoji[aria-label="currency exchange"],
.emoji[aria-label="TOP arrow"],
.emoji[aria-label="END arrow"],
.emoji[aria-label="ON! arrow"],
.emoji[aria-label="SOON arrow"],
.emoji[aria-label="heavy dollar sign"],
.emoji[aria-label=copyright],
.emoji[aria-label=registered],
.emoji[aria-label="trade mark"],
.emoji[aria-label=multiply],
.emoji[aria-label=plus],
.emoji[aria-label=minus],
.emoji[aria-label=divide],
.emoji[aria-label="curly loop"],
.emoji[aria-label="double curly loop"],
.emoji[aria-label="wavy dash"],
.emoji[aria-label="paw prints"],
.emoji[aria-label="musical note"],
.emoji[aria-label="musical notes"] {
    filter: invert(100%) hue-rotate(180deg)
}


/* hide stuffs */

.page-footer {
    display: none;
}

a.item[href="/explore/repos"],
a.item[href="https://docs.gitea.com"],
div.profile-avatar-name>div {
    display: none;
}
