/* ! Modified from GitHub's dark theme in primer/primitives.
 * MIT License
 * Copyright (c) 2018 GitHub Inc.
 * https://github.com/primer/primitives/blob/main/LICENSE
 */
main {
  --color-prettylights-syntax-comment: #8b949e;
  --color-prettylights-syntax-constant: #79c0ff;
  --color-prettylights-syntax-entity: #d2a8ff;
  --color-prettylights-syntax-storage-modifier-import: #c9d1d9;
  --color-prettylights-syntax-entity-tag: #7ee787;
  --color-prettylights-syntax-keyword: #ff7b72;
  --color-prettylights-syntax-string: #a5d6ff;
  --color-prettylights-syntax-variable: #ffa657;
  --color-prettylights-syntax-brackethighlighter-unmatched: #f85149;
  --color-prettylights-syntax-invalid-illegal-text: #f0f6fc;
  --color-prettylights-syntax-invalid-illegal-bg: #8e1519;
  --color-prettylights-syntax-carriage-return-text: #f0f6fc;
  --color-prettylights-syntax-carriage-return-bg: #b62324;
  --color-prettylights-syntax-string-regexp: #7ee787;
  --color-prettylights-syntax-markup-list: #f2cc60;
  --color-prettylights-syntax-markup-heading: #1f6feb;
  --color-prettylights-syntax-markup-italic: #c9d1d9;
  --color-prettylights-syntax-markup-bold: #c9d1d9;
  --color-prettylights-syntax-markup-deleted-text: #ffdcd7;
  --color-prettylights-syntax-markup-deleted-bg: #67060c;
  --color-prettylights-syntax-markup-inserted-text: #aff5b4;
  --color-prettylights-syntax-markup-inserted-bg: #033a16;
  --color-prettylights-syntax-markup-changed-text: #ffdfb6;
  --color-prettylights-syntax-markup-changed-bg: #5a1e02;
  --color-prettylights-syntax-markup-ignored-text: #c9d1d9;
  --color-prettylights-syntax-markup-ignored-bg: #1158c7;
  --color-prettylights-syntax-meta-diff-range: #d2a8ff;
  --color-prettylights-syntax-brackethighlighter-angle: #8b949e;
  --color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;
  --color-prettylights-syntax-constant-other-reference-link: #a5d6ff;
  --color-btn-text: #c7c7c7;
  --color-btn-bg: rgb(51 51 51 / 80%);
  --color-btn-border: rgb(246 246 246 / 10%);
  --color-btn-shadow: 0 0 transparent;
  --color-btn-inset-shadow: 0 0 transparent;
  --color-btn-hover-bg: rgb(51 51 51 / 50%);
  --color-btn-hover-border: #8b949e;
  --color-btn-active-bg: hsl(212deg 12% 18% / 50%);
  --color-btn-active-border: #6e7681;
  --color-btn-selected-bg: rgb(51 51 51 / 50%);
  --color-btn-primary-text: #fff;
  --color-btn-primary-bg: #8c5cf5;
  --color-btn-primary-border: rgb(240 246 252 / 10%);
  --color-btn-primary-shadow: 0 0 transparent;
  --color-btn-primary-inset-shadow: 0 0 transparent;
  --color-btn-primary-hover-bg: #996aff;
  --color-btn-primary-hover-border: rgb(240 246 252 / 10%);
  --color-btn-primary-selected-bg: #7341df;
  --color-btn-primary-selected-shadow: 0 0 transparent;
  --color-btn-primary-disabled-text: rgb(240 246 252 / 50%);
  --color-btn-primary-disabled-bg: rgb(140 92 245 / 60%);
  --color-btn-primary-disabled-border: rgb(246 246 246 / 10%);
  --color-action-list-item-default-hover-bg: rgb(157 157 157 / 12%);
  --color-segmented-control-bg: rgb(110 110 110 / 10%);
  --color-segmented-control-button-bg: transparent;
  --color-segmented-control-button-selected-border: #6b6b6b;
  --color-fg-default: #ffffff;
  --color-fg-muted: #c7c7c7;
  --color-fg-subtle: #484848;
  --color-canvas-default: transparent;
  --color-canvas-overlay: rgb(27 27 27 / 90%);
  --color-canvas-inset: transparent;
  --color-canvas-subtle: transparent;
  --color-border-default: #353535;
  --color-border-muted: #252525;
  --color-neutral-muted: rgb(118 118 118 / 5%);
  --color-neutral-subtle: rgb(118 118 118 / 10%);
  --color-accent-fg: #bc9dff;
  --color-accent-emphasis: #8c5cf5;
  --color-accent-muted: rgb(140 92 245 / 40%);
  --color-accent-subtle: rgb(140 92 245 / 10%);
  --color-success-fg: #3fb950;
  --color-attention-fg: #c69026;
  --color-attention-muted: rgb(174 124 20 / 40%);
  --color-attention-subtle: rgb(174 124 20 / 15%);
  --color-danger-fg: #f85149;
  --color-danger-muted: rgb(229 83 75 / 40%);
  --color-danger-subtle: rgb(229 83 75 / 10%);
  --color-primer-shadow-inset: 0 0 transparent;
  --color-scale-gray-7: #262626;
  --color-scale-blue-8: #353535;

  /*! Extensions from @primer/css/alerts/flash.scss */
  --color-social-reaction-bg-hover: var(--color-scale-gray-7);
  --color-social-reaction-bg-reacted-hover: var(--color-scale-blue-8);
}

main .pagination-loader-container {
  background-image: url("https://github.com/images/modules/pulls/progressive-disclosure-line-dark.svg");
}

.gsc-pagination-button {
  background-color: var(--color-btn-bg);
}

.gsc-homepage-bg {
  background: linear-gradient(135deg, #05485c, #032e58, #2f0154);
  background-size: 600% 600%;
  animation: gradient 21s ease infinite;
}

@keyframes gradient {
  0% {
    background-position: 2% 0%;
  }

  50% {
    background-position: 99% 100%;
  }

  100% {
    background-position: 2% 0%;
  }
}

main .gsc-loading-image {
  background-image: url("https://github.githubassets.com/images/mona-loading-dark.gif");
}