.markdown-standard {
  font-size: 14px;
  line-height: 2.4;
  & {
    --table-border-color: #ccc;
    --table-thead-bg-color: #f5f6f8;
  }
  .dark & {
    --table-border-color: #333;
    --table-thead-bg-color: #1a1a1a;
  }
  h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
  }
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  h4 {
    font-size: 1.1rem;
  }
  
  h5 {
    font-size: 0.95rem;
  }
  
  h6 {
    font-size: 0.8rem;
  }

  p {
    margin: .6em 0;
    display: inline;
    clear: both;
    &::after {
      content: "\A";
      white-space: pre;
    }
  }

  blockquote {
    margin: 1em 0;
    padding: 1em;
    border-left: 3px solid #49b1f5;
    background-color: rgba(73,177,245,0.1);
    color: #6a737d;
    .dark & {
      color: unset;
    }
  }

  :not(pre)>code {
    margin: 0 3px;
    padding: 2px 4px;
    color: #f47466;
    background: #1b1f230d;
    .dark & {
      background: #2c2c2c;
    }
  }

  sup {
    font-weight: 700;
    user-select: none;
    font-style: normal;
    a {
      &:before {
        content: "[";
        margin-left: .3em;
      }
      &:after {
        content: "]";
      }
    }
  }

  table {
    --table-border-radius: 8px;
    margin: .6em 0;
    box-sizing: content-box;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border-radius: var(--table-border-radius);
    overflow: hidden;
    border: var(--table-border-color);
    box-shadow: 0 0 0 1px var(--table-border-color);
    thead {
      background: var(--table-thead-bg-color);
    }
    th,td {
      padding: 5px 10px;
      border-right: solid 1px var(--table-border-color);
      &:last-child {
        border-right: 0;
      }
    }
    tbody tr {
      border-bottom: solid 1px var(--table-border-color);
      &:first-child {
        border-top: solid 1px var(--table-border-color);
      }
      &:last-child {
        border-bottom: 0
      }
    }
    tr:first-child th:first-child {
      border-top-left-radius: var(--table-border-radius);
    }
    tr:first-child th:last-child {
      border-top-right-radius: var(--table-border-radius);
    }
    tr:last-child td:first-child {
      border-bottom-left-radius: var(--table-border-radius);
    }
    tr:last-child td:last-child {
      border-bottom-right-radius: var(--table-border-radius);
    }
  }

  ol {
    list-style-type: decimal;
    padding-left: 1.5em;
  }
  ul {
    list-style-type: circle;
    padding-left: 1.5em;
  }
  li {
    position: relative;
  }

  kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: .5em;
    border: solid 1px #d8d0d0;
    border-bottom-width: 2px;
    background-color: #f2f2f2;
    padding: 0 .5em;
    min-height: 2.2em;
    min-width: 2.2em;
    font-family: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Vazirmatn,Courier New,monospace;
    .dark & {
      border: solid 1px #3f3d3d;
      background-color: #1c1c1c;
    }
  }

  mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 .5em;
    color: #000;
    background: #f0f070;
    .dark & {
      color: #eee;
      background: #676738;
    }
  }

  a[href] {
    color: var(--colors-gradientBlue-middle);
    border-bottom: solid transparent 1px;
    &:hover {
      border-bottom: dotted var(--colors-gradientBlue-middle) 1px;
    }
  }

  pre {
    line-height: 2;
    height: max-content;
    overflow-x: auto;
    background: #F6F6F6;
    .dark & {
      background: #1a1a1a;
    }
    & > code {
      display: block;
      padding: 1rem;
    }
    &::-webkit-scrollbar-thumb {
      border: 4px solid transparent;
      background-clip: content-box;
      border-radius: 10px;
    }
  }

}