/* 草稿箱样式 */
.drafts-box {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.drafts-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 12px;
}
.drafts-box-header h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #111827;
}
.drafts-box-actions { display: flex; gap: 8px; }
.drafts-btn {
  border: none;
  background: #00C29A;
  color: #fff;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 0;
  cursor: pointer;
  transition: opacity .15s;
}
.drafts-btn:hover { opacity: .9; }
.drafts-btn-ghost {
  background: #f3f4f6;
  color: #374151;
}
.drafts-list {
  flex: 1;
  overflow-y: auto;
  padding: 17px 14px 24px;
}
.drafts-empty, .drafts-loading {
  text-align: center;
  color: #9ca3af;
  font-size: 13px;
  padding: 40px 0;
}
.draft-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid #eef0f2;
  border-radius: 0;
  margin-bottom: 10px;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  cursor: pointer;
}
.draft-item:hover {
  border-color: #00C29A;
  box-shadow: 0 2px 10px rgba(0,194,154,.12);
}
.draft-item-main { min-width: 0; flex: 1; }
.draft-item-title {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}
.draft-item-meta {
  font-size: 12px;
  color: #9ca3af;
}
.draft-item-actions {
  display: flex;
  gap: 6px;
  margin-left: 10px;
  flex-shrink: 0;
}
.draft-item-actions button {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #6b7280;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 0;
  cursor: pointer;
}
.draft-item-actions button:hover { border-color: #00C29A; color: #00C29A; }
.draft-item-actions .del:hover { border-color: #ef4444; color: #ef4444; }
.draft-save-hint {
  font-size: 12px;
  color: #00C29A;
  padding: 0 18px 8px;
}
.draft-nonmember-tip {
  margin: 10px 14px;
  padding: 12px 14px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 0;
  font-size: 12px;
  color: #92400e;
  line-height: 1.6;
}
.draft-nonmember-tip a { color: #b45309; font-weight: 600; }

/* 分页 */
.drafts-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 0 24px;
  font-size: 13px;
  color: #6b7280;
}
.drafts-pagination button {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  padding: 5px 12px;
  border-radius: 0;
  cursor: pointer;
  font-size: 13px;
}
.drafts-pagination button:hover:not(:disabled) {
  border-color: #00C29A;
  color: #00C29A;
}
.drafts-pagination button:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.drafts-pagination .page-current {
  background: #00C29A;
  border-color: #00C29A;
  color: #fff;
}
.drafts-pagination .page-info {
  padding: 0 6px;
}
