/* 编辑器 */
#editor-screen {
  display: flex;
  flex-direction: column;
  background: var(--bg-primary);
  height: 100%;
}

/* 工具栏 */
.editor-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--bg-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
}

.editor-toolbar .separator {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.1);
}

.editor-toolbar .toolbar-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.editor-toolbar label {
  font-size: 13px;
  color: var(--text-secondary);
}

.editor-toolbar input[type="number"] {
  width: 60px;
  padding: 4px 8px;
  background: var(--bg-primary);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 13px;
}

.editor-toolbar select {
  padding: 4px 8px;
  background: var(--bg-primary);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  color: var(--text-primary);
  font-size: 13px;
}

.editor-toolbar .btn {
  padding: 6px 14px;
  font-size: 13px;
}

.note-type-btn {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.note-type-btn.click {
  background: rgba(74, 158, 255, 0.2);
  color: var(--note-click);
  border-color: var(--note-click);
}

.note-type-btn.hold {
  background: rgba(74, 158, 255, 0.2);
  color: var(--note-hold);
  border-color: var(--note-hold);
}

.note-type-btn.drag {
  background: rgba(255, 184, 0, 0.2);
  color: var(--note-drag);
  border-color: var(--note-drag);
}

.note-type-btn.flick {
  background: rgba(255, 68, 68, 0.2);
  color: var(--accent-red);
  border-color: var(--accent-red);
}

.note-type-btn.active {
  transform: scale(1.1);
  box-shadow: 0 0 10px currentColor;
}

/* 编辑器主体 */
.editor-body {
  flex: 1;
  display: flex;
  overflow: hidden;
  position: relative;
}

/* 时间线 */
.editor-timeline {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.editor-timeline canvas {
  display: block;
}

/* 编辑器滚动条 */
.editor-scrollbar {
  position: absolute;
  right: 2px;
  top: 0;
  bottom: 0;
  width: 10px;
  cursor: pointer;
  z-index: 5;
}

.editor-scrollbar-thumb {
  position: absolute;
  left: 1px;
  width: 8px;
  min-height: 20px;
  background: rgba(74, 158, 255, 0.4);
  border-radius: 4px;
  cursor: grab;
  transition: background 0.15s;
}

.editor-scrollbar-thumb:hover,
.editor-scrollbar-thumb.dragging {
  background: rgba(74, 158, 255, 0.7);
}

/* 属性面板 */
.editor-properties {
  width: 200px;
  background: var(--bg-secondary);
  border-left: 1px solid rgba(255,255,255,0.1);
  padding: 16px;
  flex-shrink: 0;
  overflow-y: auto;
}

.editor-properties h3 {
  font-size: 14px;
  color: var(--accent-blue);
  margin-bottom: 12px;
}

.prop-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
}

.prop-row label {
  color: var(--text-secondary);
}

.prop-row input {
  width: 70px;
  padding: 4px 6px;
  background: var(--bg-primary);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 13px;
}

/* 状态栏 */
.editor-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  color: var(--text-secondary);
  flex-shrink: 0;
}
