@import url("https://fonts.googleapis.com/css2?family=Leckerli+One&family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");
* {
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-text-size-adjust: none;
  -webkit-touch-callout: none;
  box-sizing: border-box;
}

@font-face {
  src: url("../fonts/JetBrainsMono-Regular.ttf");
  font-family: "JetBrainsMono";
  font-weight: 100;
}

@font-face {
  src: url("../fonts/JetBrainsMono-Bold.ttf");
  font-family: "JetBrainsMonoBold";
  font-weight: 500;
}

* {
  /* Surfaces - matching mage-studio editor */
  --surface-canvas: #0B1220;
  --surface-panel: #0F1B2A;
  --surface-toolbar: #132235;
  --surface-elevated: #162A40;
  
  /* Legacy aliases */
  --background: #0B1220;
  --codeBackgroundColor: #0F1B2A;
  
  /* Brand colors */
  --logo: #f1c40f;
  --accent: #f1c40f;
  --highlight: #ffbe76;
  --h2-color: #ffbe76;
  --h4-color: #3B82F6;
  
  /* Text colors */
  --text-primary: #E6EDF6;
  --text-secondary: #B6C4D6;
  --text-muted: #7F94AD;
  --textColor: #E6EDF6;
  
  /* Action colors */
  --action-primary: #3B82F6;
  --action-secondary: #22C55E;
  --action-accent: #F59E0B;
  
  /* State colors */
  --red: #EF4444;
  --green: #22C55E;
  --faint-red-border: rgba(239, 68, 68, 0.7);
  
  /* Borders */
  --border-subtle: #1E3248;
  --border-strong: #2A425F;
  --borderColor: rgba(30, 50, 72, 0.6);
  --faint-orange-color: rgba(255, 190, 118, 0.2);
  
  /* Feature colors */
  --green-sheen: #70a9a1;
  --teal-blue: #40798c;
  
  /* Code */
  --codeFontFamily: "JetBrainsMono";
  --codeTypeColor: #E6EDF6;
  --sidebarSublink: #7F94AD;
}

body:not(.ready) {
  overflow: hidden;
}

.search {
  border-bottom: none !important;
}

.search .input-wrap {
  margin-top: 20px !important;
}

.search input {
  border: 1px solid var(--border-subtle) !important;
  background-color: var(--surface-elevated) !important;
  margin: 0 auto;
  color: var(--text-primary);
  width: 90% !important;
  border-radius: 6px;
  text-indent: 15px;
  padding: 10px 12px !important;
  font-size: 0.85rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search input::placeholder {
  color: var(--text-muted);
}

.search h2 {
  font-size: 1.2em;
  margin: 10px 0;
  color: var(--highlight);
}

.search .matching-post {
  border-bottom: 1px solid var(--border-subtle) !important;
  padding: 12px 8px;
  transition: background-color 0.2s ease;
}

.search .matching-post:hover {
  background-color: var(--surface-hover);
}

.search .matching-post a:hover h2 {
  color: var(--accent);
}

body:not(.ready) .app-nav,
body:not(.ready) > nav,
body:not(.ready) [data-cloak] {
  display: none;
}

div#app {
  font-size: 30px;
  font-weight: lighter;
  margin: 40vh auto;
  text-align: center;
}

div#app:empty:before {
  content: "Loading...";
}

.emoji {
  height: 1.2rem;
  vertical-align: middle;
}

.progress {
  background-color: var(--accent);
  height: 2px;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  transition: width 0.2s, opacity 0.4s;
  width: 0;
  z-index: 999999;
}

.search .search-keyword,
.search a:hover {
  color: var(--accent);
}

.search .search-keyword {
  font-style: normal;
  font-weight: 600;
  color: var(--highlight);
}

.search input {
  font-family: "Poppins", sans-serif;
}

.search input:focus {
  border: 1px solid var(--action-primary) !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
  outline: none;
}

body,
html {
  height: 100%;
}

body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: auto;
  background: var(--surface-canvas);
  color: var(--text-primary);
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0;
  margin: 0;
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
}

.markdown-section h1 {
  color: var(--text-primary);
  font-weight: 700;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
}

.markdown-section h2 {
  color: var(--highlight);
  font-weight: 600;
  margin-top: 2.5rem;
}

.markdown-section h3 {
  color: var(--text-primary);
  font-weight: 600;
}

.markdown-section h4 {
  color: var(--action-primary);
  font-weight: 500;
}

.markdown-section p,
.markdown-section li {
  color: var(--text-secondary);
  line-height: 1.7;
}

.markdown-section a {
  color: var(--action-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.markdown-section a:hover {
  color: var(--highlight);
  text-decoration: underline;
}

img {
  max-width: 100%;
}

a[disabled] {
  cursor: not-allowed;
  opacity: 0.6;
}

kbd {
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  display: inline-block;
  font-size: 12px !important;
  line-height: 12px;
  margin-bottom: 3px;
  padding: 4px 8px;
  vertical-align: middle;
  background: var(--surface-toolbar);
  color: var(--text-primary);
  font-family: 'JetBrainsMono', monospace;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

li input[type="checkbox"] {
  margin: 0 0.2em 0.25em 0;
  vertical-align: middle;
}

.app-nav {
  margin: 25px 60px 0 0;
  position: absolute;
  right: 0;
  text-align: right;
  z-index: 10;
}

.app-nav.no-badge {
  margin-right: 25px;
}

.app-nav p {
  margin: 0;
}

.app-nav > a {
  margin: 0 1rem;
  padding: 5px 0;
}

.app-nav li,
.app-nav ul {
  display: inline-block;
  list-style: none;
  margin: 0;
}

.app-nav a {
  color: inherit;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.3s;
}

.app-nav a.active,
.app-nav a:hover {
  color: var(--accent);
}

.app-nav a.active {
  border-bottom: 2px solid var(--accent);
}

.app-nav li {
  display: inline-block;
  margin: 0 1rem;
  padding: 5px 0;
  position: relative;
  cursor: pointer;
}

.app-nav li ul {
  background-color: var(--surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  box-sizing: border-box;
  display: none;
  max-height: calc(100vh - 61px);
  overflow-y: auto;
  padding: 10px 0;
  position: absolute;
  right: -15px;
  text-align: left;
  top: 100%;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.app-nav li ul li {
  display: block;
  font-size: 14px;
  line-height: 1rem;
  margin: 8px 14px;
  white-space: nowrap;
}

.app-nav li ul a {
  display: block;
  font-size: inherit;
  margin: 0;
  padding: 0;
}

.app-nav li ul a.active {
  border-bottom: 0;
}

.app-nav li:hover ul {
  display: block;
}

.github-corner {
  border-bottom: 0;
  position: fixed;
  right: 0;
  text-decoration: none;
  top: 0;
  z-index: 1;
}

.github-corner:hover .octo-arm {
  -webkit-animation: octocat-wave 0.56s ease-in-out;
  animation: octocat-wave 0.56s ease-in-out;
}

.github-corner svg {
  color: var(--background);
  fill: var(--accent);
  height: 80px;
  width: 80px;
}

main {
  display: block;
  color: var(--textColor);
  position: relative;
  width: 100vw;
  height: 100%;
  z-index: 0;
}

main.hidden {
  display: none;
}

.anchor {
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s;
}

.anchor span {
  color: var(--red);
}

.anchor:hover {
  text-decoration: underline;
  /* padding-bottom: 8px;
    border-bottom: 4px solid var(--accent); */
}

.sidebar {
  background: var(--surface-panel);
  border-right: 1px solid var(--border-subtle);
  overflow-y: auto;
  padding: 24px 0 0;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  transition: transform 0.25s ease-out;
  width: 260px;
  z-index: 20;
}

.sidebar > h1 {
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  font-weight: 400;
  text-align: center;
  color: var(--logo);
  font-family: "Leckerli One", cursive;
  font-style: normal;
  position: relative;
}

.sidebar > h1::after {
  display: none;
}

.sidebar > h1 a {
  color: inherit;
  text-decoration: none;
}

.sidebar > h1 .app-nav {
  display: block;
  position: static;
}

.sidebar .sidebar-nav {
  line-height: 1.6em;
  padding-bottom: 40px;
  padding-left: 12px;
  padding-right: 12px;
}

.sidebar .sidebar-nav a {
  color: var(--text-muted);
  transition: color 0.15s ease;
  font-size: 0.8rem;
}

.sidebar .sidebar-nav a:hover {
  color: var(--text-primary);
}

.sidebar .sidebar-nav .active {
  color: var(--accent);
  font-weight: 500;
  border-left: 2px solid var(--accent);
  padding-left: 8px;
  margin-left: -10px;
}

.sidebar-nav li.open ul {
  padding-left: 16px;
  border-left: 1px solid var(--border-subtle);
  margin-left: -8px;
}

.sidebar-nav li.folder::before {
  left: -12px !important;
  border-right-color: var(--accent) !important;
  border-bottom-color: var(--accent) !important;
}

.sidebar li.collapse .app-sub-sidebar {
  display: none;
}

.sidebar ul {
  margin: 0 0 0 12px;
  padding: 0;
}

.sidebar li > p {
  font-weight: 500;
  margin: 0;
  font-size: 0.7rem;
  margin: 16px 0px 6px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sidebar ul,
.sidebar ul li {
  list-style: none;
}

.sidebar ul li a {
  border-bottom: none;
  display: block;
  padding: 3px 0;
  font-size: 0.78rem;
}

.sidebar ul li ul {
  padding-left: 14px;
}

.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 4px;
}

.sidebar:hover::-webkit-scrollbar-thumb {
  background: var(--border-strong);
}

.sidebar:hover::-webkit-scrollbar-track {
  background: rgba(30, 50, 72, 0.3);
}

.sidebar-toggle {
  background-color: transparent;
  border: 0;
  outline: none;
  padding: 10px;
  position: absolute;
  bottom: 0;
  left: 0;
  text-align: center;
  transition: opacity 0.3s;
  width: 284px;
  z-index: 30;
  cursor: pointer;
}

.sidebar-toggle:hover .sidebar-toggle-button {
  opacity: 0.4;
}

.sidebar-toggle span {
  background-color: var(--accent);
  display: block;
  margin-bottom: 4px;
  width: 16px;
  height: 2px;
}

body.sticky .sidebar,
body.sticky .sidebar-toggle {
  position: fixed;
}

.content {
  background: var(--surface-canvas);
  padding-top: 60px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 260px;
  transition: left 0.25s ease;
}

.markdown-section {
  margin: 0 auto;
  max-width: 900px;
  padding: 30px 40px 60px;
  position: relative;
}

.markdown-section > * {
  box-sizing: border-box;
  font-size: inherit;
}

.markdown-section > :first-child {
  margin-top: 0 !important;
}

.markdown-section hr {
  border: none;
  border-bottom: 1px solid var(--borderColor);
  margin: 2em 0;
}

.markdown-section iframe {
  border: 1px solid var(--border-subtle);
  width: 1px;
  min-width: 100%;
  border-radius: 8px;
}

.markdown-section table {
  border-collapse: collapse;
  border-spacing: 0;
  display: block;
  margin-bottom: 1.5rem;
  overflow: auto;
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.markdown-section th {
  font-weight: 600;
  background: var(--surface-toolbar);
  color: var(--text-primary);
}

.markdown-section td,
.markdown-section th {
  border: 1px solid var(--border-subtle);
  padding: 10px 16px;
}

.markdown-section td {
  color: var(--text-secondary);
}

.markdown-section tr {
  border-top: 1px solid var(--border-subtle);
}

.markdown-section tr:nth-child(2n) {
  background-color: var(--surface-panel);
}

.markdown-section p.tip {
  border-bottom-right-radius: 6px;
  border-left: 4px solid var(--action-accent);
  border-top-right-radius: 6px;
  margin: 2em 0;
  padding: 16px 24px 16px 20px;
  position: relative;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-left: 4px solid var(--action-accent);
}

.markdown-section p.tip:before {
  background-color: var(--action-accent);
  border-radius: 100%;
  color: var(--surface-canvas);
  content: "!";
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 700;
  left: -12px;
  line-height: 20px;
  position: absolute;
  height: 20px;
  width: 20px;
  text-align: center;
  top: 14px;
}

.markdown-section p.tip code {
  background-color: rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.4);
}

.markdown-section p.tip em {
  color: var(--text-muted);
}

.markdown-section p.warn {
  background: rgba(112, 169, 161, 0.1);
  border-radius: 6px;
  padding: 16px 24px 16px 20px;
  border: 1px solid rgba(112, 169, 161, 0.3);
  border-left: 4px solid var(--green-sheen);
  position: relative;
  margin: 2em 0;
}

.markdown-section p.warn code {
  background-color: rgba(112, 169, 161, 0.2);
  border-color: rgba(112, 169, 161, 0.4);
}

.markdown-section p.warn::before {
  content: "?";
  background: var(--green-sheen);
  color: var(--surface-canvas);
  font-weight: bold;
  border-radius: 100%;
  width: 20px;
  height: 20px;
  display: block;
  position: absolute;
  line-height: 20px;
  text-align: center;
  font-size: 12px;
  left: -12px;
  top: 14px;
}

.markdown-section ul.task-list > li {
  list-style-type: none;
}

body.close .sidebar {
  transform: translateX(-300px);
}

body.close .sidebar-toggle {
  width: auto;
}

body.close .content {
  left: 0;
}

@media print {
  .app-nav,
  .github-corner,
  .sidebar,
  .sidebar-toggle {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .github-corner,
  .sidebar,
  .sidebar-toggle {
    position: fixed;
  }
  .app-nav {
    margin-top: 16px;
  }
  .app-nav li ul {
    top: 30px;
  }
  main {
    height: auto;
    overflow-x: hidden;
  }
  .sidebar {
    left: -300px;
    transition: transform 0.25s ease-out;
  }
  .content {
    left: 0;
    max-width: 100vw;
    position: static;
    padding-top: 20px;
    transition: transform 0.25s ease;
  }
  .app-nav,
  .github-corner {
    transition: transform 0.25s ease-out;
  }
  .sidebar-toggle {
    background-color: transparent;
    width: auto;
    padding: 30px 30px 10px 10px;
  }
  body.close .sidebar {
    transform: translateX(300px);
  }
  body.close .sidebar-toggle {
    transition: background-color 1s;
    width: 284px;
    padding: 10px;
  }
  body.close .content {
    transform: translateX(300px);
  }
  body.close .app-nav,
  body.close .github-corner {
    display: none;
  }
  .github-corner:hover .octo-arm {
    -webkit-animation: none;
    animation: none;
  }
  .github-corner .octo-arm {
    -webkit-animation: octocat-wave 0.56s ease-in-out;
    animation: octocat-wave 0.56s ease-in-out;
  }
}

@-webkit-keyframes octocat-wave {
  0%,
  to {
    transform: rotate(0);
  }
  20%,
  60% {
    transform: rotate(-25deg);
  }
  40%,
  80% {
    transform: rotate(10deg);
  }
}

@keyframes octocat-wave {
  0%,
  to {
    transform: rotate(0);
  }
  20%,
  60% {
    transform: rotate(-25deg);
  }
  40%,
  80% {
    transform: rotate(10deg);
  }
}

section.cover {
  align-items: center;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  display: none;
}

section.cover.show {
  display: flex;
  background: var(--coverBackground) !important;
}

section.cover.has-mask .mask {
  background-color: var(--surface-canvas);
  opacity: 0.9;
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
}

section.cover .cover-main {
  flex: 1;
  margin: -20px 16px 0;
  text-align: center;
  z-index: 1;
}

section.cover a {
  color: inherit;
}

section.cover a,
section.cover a:hover {
  text-decoration: none;
}

section.cover p {
  line-height: 1.5rem;
  margin: 1em 0;
}

section.cover h1 {
  color: inherit;
  font-size: 2.5rem;
  font-weight: 400;
  margin: 0.625rem 0 2.5rem;
  position: relative;
  text-align: center;
}

section.cover h1 a {
  display: block;
}

section.cover h1 small {
  bottom: -0.4375rem;
  font-size: 1rem;
  position: absolute;
}

section.cover blockquote {
  font-size: 1.5rem;
  text-align: center;
}

section.cover ul {
  line-height: 1.8;
  list-style-type: none;
  margin: 1em auto;
  max-width: 500px;
  padding: 0;
}

section.cover .cover-main > p:last-child a {
  border-radius: 2rem;
  border: 1px solid var(--accent);
  box-sizing: border-box;
  color: var(--accent);
  display: inline-block;
  font-size: 1.05rem;
  letter-spacing: 0.1rem;
  margin: 0.5rem 1rem;
  padding: 0.75em 2rem;
  text-decoration: none;
  transition: all 0.15s ease;
}

section.cover .cover-main > p:last-child a:last-child {
  background-color: var(--accent);
  color: #fff;
}

section.cover .cover-main > p:last-child a:last-child:hover {
  color: inherit;
  opacity: 0.8;
}

section.cover .cover-main > p:last-child a:hover {
  color: inherit;
}

section.cover blockquote > p > a {
  border-bottom: 2px solid var(--accent);
  transition: color 0.3s;
}

section.cover blockquote > p > a:hover {
  color: var(--accent);
}

.sidebar,
body {
  background-color: var(--background);
  transition: background-image 0.15s ease-in-out 0.15s;
}

.sidebar {
  color: var(--textColor);
}

.sidebar li {
  margin: 4px 0;
  color: var(--text-secondary);
}

.sidebar ul li a {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 400;
  overflow: hidden;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar ul li a:hover {
  color: var(--text-primary);
  text-decoration: none;
}

.sidebar ul li ul {
  padding: 0;
}

.sidebar ul li.active > a {
  color: var(--accent);
  font-weight: 500;
}

.app-sub-sidebar li:before {
  content: "›";
  padding-right: 6px;
  float: left;
  color: var(--text-disabled);
  font-size: 0.75rem;
}

.markdown-section h1,
.markdown-section h2,
.markdown-section h3,
.markdown-section h4,
.markdown-section strong {
  color: var(--textColor);
  font-weight: 900;
}

.markdown-section a {
  color: var(--accent);
  font-weight: 900;
}

.markdown-section h1 {
  font-size: 4em;
  margin: 0 0 4rem;
}

.markdown-section h2 {
  font-size: 1.75rem;
  margin: 45px 0 0.8rem;
}

.markdown-section h2 .anchor span {
  color: var(--h2-color);
}

.markdown-section h3 {
  font-size: 1.5rem;
  margin: 40px 0 0.6rem;
}

.markdown-section h4 {
  font-size: 1.25rem;
}

.markdown-section h4 a span {
  color: var(--h4-color);
}

.markdown-section h5 {
  font-size: 1rem;
}

.markdown-section h6 {
  color: #777;
  font-size: 1rem;
}

.markdown-section figure,
.markdown-section p {
  margin: 1em 0 0 0;
}

.markdown-section ol,
.markdown-section p,
.markdown-section ul {
  line-height: 1.6rem;
  word-spacing: 0.05rem;
  font-weight: 400;
  font-size: 1.1rem;
}

.markdown-section ol,
.markdown-section ul {
  padding-left: 1.5rem;
}

.markdown-section blockquote {
  border-left: 4px solid var(--accent);
  margin: 2em 0;
  padding: 12px 20px;
  background: var(--surface-panel);
  border-radius: 0 6px 6px 0;
}

.markdown-section blockquote p {
  font-weight: 500;
  margin: 0;
  color: var(--text-secondary);
}

.markdown-section iframe {
  margin: 1em 0;
}

.markdown-section em {
  color: var(--text-muted);
}

.markdown-section code {
  border-radius: 4px;
  color: var(--green-sheen);
  font-size: 0.85em;
  font-family: "JetBrainsMono", "Ubuntu Mono", monospace;
  margin: 0 2px;
  padding: 3px 6px;
  white-space: pre-wrap;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid var(--border-subtle);
}

a code {
  font-size: 0.7em !important;
}

.markdown-section code,
.markdown-section pre {
  background-color: var(--surface-panel);
  font-family: var(--codeFontFamily);
  font-weight: 400;
}

.markdown-section pre {
  -moz-osx-font-smoothing: initial;
  -webkit-font-smoothing: initial;
  line-height: 1.6rem;
  margin: 2em 0;
  overflow: auto;
  position: relative;
  word-wrap: normal;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}

.markdown-section pre > code {
  border-radius: 8px !important;
  border: none;
  color: var(--text-primary);
}

.token.cdata,
.token.comment,
.token.doctype,
.token.prolog {
  color: var(--text-muted);
}

.token.namespace {
  opacity: 0.7;
}

.token.boolean,
.token.number {
  color: #f59e0b;
}

.token.punctuation {
  color: var(--text-secondary);
}

.token.property {
  color: var(--highlight);
}

.token.tag {
  color: var(--action-primary);
}

.token.string {
  color: var(--green-sheen);
}

.token.selector {
  color: #a78bfa;
}

.token.attr-name {
  color: var(--teal-blue);
}

.language-css .token.string,
.style .token.string,
.token.entity,
.token.url {
  color: #22a2c9;
}

.token.attr-value,
.token.control,
.token.directive,
.token.unit {
  color: var(--accent);
}

.token.function {
  color: var(--action-primary);
}

.token.keyword {
  color: var(--highlight);
}

.token.atrule,
.token.regex,
.token.statement {
  color: var(--teal-blue);
}

.token.placeholder,
.token.variable {
  color: var(--green-sheen);
}

.token.deleted {
  text-decoration: line-through;
}

.token.inserted {
  border-bottom: 1px dotted #202746;
  text-decoration: none;
}

.token.italic {
  font-style: italic;
}

.token.bold,
.token.important {
  font-weight: 700;
}

.token.important {
  color: #ef4444;
}

.token.entity {
  cursor: help;
}

.markdown-section pre > code {
  -moz-osx-font-smoothing: initial;
  -webkit-font-smoothing: initial;
  background-color: var(--codeBackgroundColor);
  border-radius: 2px;
  color: var(--codeTextColor);
  display: block;
  font-size: 1em;
  line-height: inherit;
  margin: 0 2px;
  max-width: inherit;
  overflow: inherit;
  padding: 16px;
  white-space: inherit;
}

.markdown-section code.lang-json {
  color: #3498db;
}

.markdown-section code:after,
.markdown-section code:before {
  letter-spacing: 0.05rem;
}

code .token {
  -moz-osx-font-smoothing: initial;
  -webkit-font-smoothing: initial;
  min-height: 1.5rem;
  position: relative;
  left: auto;
}

pre:after {
  color: var(--codeTypeColor);
  content: attr(data-lang);
  font-size: 0.6rem;
  font-weight: 900;
  height: 15px;
  line-height: 15px;
  padding: 5px 10px 0;
  position: absolute;
  right: 0;
  text-align: right;
  top: 0;
}

/* toogler #docsify-darklight-theme {
  position: absolute;
  right: 10px;
  top: 15px;
  width: 25px;
  height: 25px;
  background-repeat: no-repeat;
  background-image: var(--toggleImage);
  -o-background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  background-size: cover;
  cursor: pointer;
  transition: background-image 0.15s ease-in-out 0.15s;
  display: none;
}

#docsify-darklight-theme p {
  visibility: hidden;
} */
