/* editor */

#window_mike { position: absolute; top: 20%; left: 30%; display: none; }

  .editor-wrap {
    background: var(--ed-bg);
    border-radius: 10px;
    border: 1px solid var(--ed-border);
    font-family: var(--font-jetbrains);
    font-size: 13px;
    line-height: 1.7;
    min-width: 0;
    box-shadow: 10px 10px 0px 0px rgba(0, 0, 0, 0.16);
  }

  .editor-wrap .titlebar {
    background: var(--ed-surface);
    border-bottom: 1px solid var(--ed-border);
    display: flex;
    align-items: center;
    padding: 0 14px;
    height: 38px;
    gap: 0;
    user-select: none;
    background-image: url("../image/window_bg_close-editor.png");
	  background-repeat: no-repeat;
	  background-position: top 10px right 10px;
  }

  .traffic-lights {
    display: flex; gap: 7px; margin-right: 14px;
  }
  .tl {
    width: 12px; height: 12px; border-radius: 50%;
  }
  .tl-r { background: #3f4148; }
  .tl-y { background: #3f4148; }
  .tl-g { background: #3f4148; }

  .editor__tabs {
    display: flex; gap: 0; flex: 1; overflow: hidden;
  }

  .editor__tab {
    display: flex; align-items: center; gap: 6px;
    padding: 0 16px;
    height: 38px;
    font-size: 12px;
    color: var(--ed-tab-text);
    background: var(--ed-tab);
    border-right: 1px solid var(--ed-border);
    cursor: default;
    white-space: nowrap;
  }
  .editor__tab.active {
    background: var(--ed-tab-active);
    color: var(--ed-tab-active-text);
    border-bottom: 1px solid var(--ed-tab-active);
    margin-bottom: -1px;
  }
  .editor__tab:hover {
    cursor: pointer;
  }
  .editor__tab-icon {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--c-keyword); opacity: 0.7;
  }
  .editor__tab-icon.js { background: #fbbf24; }
  .editor__tab-icon.ts { background: #60a5fa; }
  .editor__tab-icon.css { background: #c084fc; }

  #editor-body {
    display: flex;
    background: var(--ed-bg);
    max-height: 400px;
    overflow: scroll;
    scrollbar-gutter: stable;
    scrollbar-color: var(--column-beta) var(--black);
  }


  #gutter {
    background: var(--ed-gutter);
    border-right: 1px solid var(--ed-border);
    font-family: var(--font-cascadia);
    color: var(--ed-linenum);
    padding: 14px 4px 20px 0;
    min-width: 52px;
    height: 100%;
    text-align: right;
    user-select: none;
    line-height: 1.7;
  }
#gutter span {
  display: block;
}
  #code-area {
    background: var(--ed-bg);
    font-family: var(--font-kaisei);
    color: var(--ed-text);
    font-weight: bold;
    padding: 14px 20px 20px 16px;
    min-width: 0;
    line-height: 1.7;
    min-width: 450px;
  }
#code-area .hidden {
    display: none !important;
}
#changelog, #reference, #musiclist {
  white-space: pre;
}
#musiclist {
    font-family: var(--font-klee), var(--font-kaisei);
    font-weight: bold;
}
  #code-area a {
  text-decoration: none;
  outline: none;
  color: var(--ed-cursor);
  }
  #code-area a:hover {
  opacity: 0.5;
  }
  .code-line {
    display: block;
    white-space: pre;
    line-height: 1.7;
  }
  .code-line.active-line {
    background: var(--ed-active-line);
    border-radius: 3px;
    margin: 0 -8px;
    padding: 0 8px;
  }

  .yt__thumbnail img {
    border: solid 2px var(--c-type);
    margin: 8px 0 5px 5px;
    vertical-align: bottom;
  }
  .yt__search {
    color: var(--text-a);
  }
  .composer {
    font-size: 0.9rem;
    color: var(--c-func);
  }
  #code-area .kw  { color: var(--c-keyword); }
  #code-area .fn  { color: var(--c-func); }
  #code-area .str { color: var(--c-string); }
  #code-area .num { color: var(--c-number); }
  #code-area .cm  { color: var(--c-comment); font-style: italic; }
  #code-area .tp  { color: var(--c-type); }
  #code-area .vr  { color: var(--c-variable); }
  #code-area .op  { color: var(--c-operator); }
  #code-area .cn  { color: var(--c-const); }
  #code-area .br  { color: var(--c-bracket); }
  #code-area .un  { text-decoration: underline; }

  .editor-wrap .statusbar {
    background: var(--ed-surface);
    border-top: 1px solid var(--ed-border);
    display: flex;
    align-items: center;
    padding: 0 16px;
    height: 26px;
    gap: 20px;
    user-select: none;
  }
  .editor-wrap .status-item {
    font-size: 11px;
    color: var(--ed-muted);
    display: flex; align-items: center; gap: 5px;
  }
  .editor-wrap .status-dot {
    width: 6px; height: 6px; border-radius: 50%; background: #4ade80;
  }
  .editor-wrap .status-right { margin-left: auto; }
