
.creator-layout { display: flex; min-height: calc(100vh - 64px); }

/* 侧边栏 */
.creator-sidebar {
  width: 220px;
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 24px 0;
  flex-shrink: 0;
}
.cs-my-brand {
  padding: 0 20px 20px;
  margin-bottom: 8px;
}
.cs-my-brand .cs-avatar {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px; font-weight: 800;
  margin-bottom: 10px;
}
.cs-my-brand .cs-name { font-size: 16px; font-weight: 700; }
.cs-my-brand .cs-id { font-size: 12px; color: var(--text-muted); }
.cs-section { padding: 8px 0; }
.cs-section-title {
  padding: 8px 20px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cs-nav { list-style: none; }
.cs-nav li a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.15s;
  border-left: 3px solid transparent;
}
.cs-nav li a:hover { background: var(--bg-gray); color: var(--text-primary); }
.cs-nav li a.active {
  background: #f0fdf4;
  color: var(--primary);
  font-weight: 600;
  border-left-color: var(--primary);
}
.cs-nav .cs-badge {
  margin-left: auto;
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 10px;
  background: #fef2f2;
  color: var(--red);
  font-weight: 600;
}

/* 主区域 */
.creator-main { flex: 1; padding: 32px; background: var(--bg-gray); overflow-x: hidden; }
.cm-topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px;
}
.cm-topbar h2 { font-size: 22px; font-weight: 700; }
.cm-topbar .cm-actions { display: flex; gap: 10px; }
.btn-create {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; border-radius: 8px;
  background: var(--primary); color: #fff;
  font-size: 14px; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.2s;
}
.btn-create:hover { background: var(--primary-dark); box-shadow: 0 4px 12px rgba(34,197,94,0.25); }

/* 统计卡片 */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.stat-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.stat-card .sc-label { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.stat-card .sc-value { font-size: 32px; font-weight: 800; color: var(--text-primary); }
.stat-card .sc-change {
  font-size: 13px; margin-top: 6px;
  display: flex; align-items: center; gap: 4px;
}
.sc-change.up { color: var(--primary); }
.sc-change.down { color: var(--red); }

/* 双栏布局 */
.cm-grid { display: grid; grid-template-columns: 1fr 340px; gap: 24px; }

/* 内容列表 */
.content-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.content-card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.content-card-header h3 { font-size: 16px; font-weight: 700; }
.content-card-header .tab-row { display: flex; gap: 4px; }
.tab-row .tab-btn {
  padding: 6px 14px; border-radius: 6px;
  font-size: 13px; font-weight: 500;
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); transition: all 0.15s;
}
.tab-row .tab-btn.active { background: #f0fdf4; color: var(--primary); }
.tab-row .tab-btn:hover { color: var(--primary); }
.content-list { padding: 8px 0; }
.content-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.content-item:last-child { border-bottom: none; }
.content-item:hover { background: var(--bg-gray); }
.ci-cover {
  width: 72px; height: 48px;
  border-radius: 6px;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.ci-info { flex: 1; min-width: 0; }
.ci-info .ci-title {
  font-size: 14px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 4px;
}
.ci-info .ci-meta { font-size: 12px; color: var(--text-muted); display: flex; gap: 12px; }
.ci-status {
  font-size: 12px; padding: 3px 10px; border-radius: 10px;
  font-weight: 500; white-space: nowrap;
}
.ci-status.published { background: #f0fdf4; color: var(--primary); }
.ci-status.review { background: #fffbeb; color: var(--gold); }
.ci-status.draft { background: var(--bg-gray); color: var(--text-muted); }

/* 侧边面板 */
.side-panel { display: flex; flex-direction: column; gap: 20px; }
.panel-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.panel-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 16px; }

/* 团队成员 */
.team-list { display: flex; flex-direction: column; gap: 12px; }
.team-member { display: flex; align-items: center; gap: 12px; }
.tm-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.tm-avatar.c1 { background: #22c55e; }
.tm-avatar.c2 { background: #3b82f6; }
.tm-avatar.c3 { background: #f59e0b; }
.tm-avatar.c4 { background: #a855f7; }
.tm-avatar.c5 { background: #ef4444; }
.tm-info { flex: 1; min-width: 0; }
.tm-info .tm-name { font-size: 14px; font-weight: 600; }
.tm-info .tm-role { font-size: 12px; color: var(--text-muted); }
.tm-tag {
  font-size: 11px; padding: 2px 8px; border-radius: 8px;
  font-weight: 500;
}
.tm-tag.admin { background: #f0fdf4; color: var(--primary); }
.tm-tag.editor { background: #eff6ff; color: var(--blue); }

/* 快捷操作 */
.quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qa-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 16px 8px; border-radius: 10px;
  background: var(--bg-gray); text-decoration: none;
  transition: all 0.2s; cursor: pointer; border: none;
  font-family: inherit; font-size: 12px; color: var(--text-secondary);
}
.qa-item:hover { background: #f0fdf4; color: var(--primary); }
.qa-item .qa-icon { font-size: 22px; }

/* 待办 */
.todo-list { display: flex; flex-direction: column; gap: 10px; }
.todo-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px; border-radius: 8px;
  background: var(--bg-gray); font-size: 13px;
}
.todo-item .todo-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.todo-dot.urgent { background: var(--red); }
.todo-dot.normal { background: var(--gold); }
.todo-dot.done { background: var(--primary); }
.todo-item.done { opacity: 0.5; text-decoration: line-through; }

.mobile-menu-trigger {
  display: none;
  position: fixed; bottom: 24px; right: 24px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: #fff;
  align-items: center; justify-content: center;
  border: none; cursor: pointer; z-index: 100;
  box-shadow: 0 4px 16px rgba(34,197,94,0.35);
}

@media (max-width: 900px) {
  .creator-sidebar {
    position: fixed; top: 64px; left: 0; bottom: 0; z-index: 40;
    transform: translateX(-100%); transition: transform 0.3s;
  }
  .creator-sidebar.open { transform: translateX(0); }
  .creator-main { padding: 20px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .cm-grid { grid-template-columns: 1fr; }
  .mobile-menu-trigger { display: flex; }
}
@media (max-width: 500px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .cm-topbar { flex-direction: column; align-items: flex-start; gap: 12px; }
}