/* Ace编辑器容器样式 */
.ace-container {
  position: relative;
  min-width: min(320px, 100%);
  margin-top: 8px;
}

.ace-container[data-frontmatter]:before {
  top: 3px;
  content: 'Front Matter';
  width: 100%;
  height: 22px;
  line-height: 21px;
  position: absolute;
  z-index: 10;
  left: 0;
  padding-left: 10px;
  font-size: var(--font-size-sm);
  color: var(--color-gray-text-secondary);
}

.ace-container[data-frontmatter]:is(.dark *):before {
  color: var(--color-gray-text-secondary);
}

.ace_hidden-cursors {
  display: none !important;
}

.ace_gutter {
  color: rgba(255, 255, 255, 0.45);
  font: var(--font-text-code-base);
  letter-spacing: var(--letter-spacing-code-base, normal);
  background: transparent;
}

.ace_gutter-cell {
  padding-left: 12px;
}

.ace-container .ace_gutter {
  background: transparent;
}

.code-editor-content .ace-chaos {
  background: transparent;
}
