body {
  background: #f7f9fc;
  margin: 0;
}

/* 顶部导航栏紧凑 */
.mobile-header {
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 12px !important;
  margin: 0;
  border-bottom: 1px solid #eee;
}

.back-icon i {
  font-size: 16px;
}

/* 标签栏区域 */
.task-tabs-scroll {
  overflow-x: hidden;        /* 禁用横向滚动 */
  background: #fff;
  border-bottom: 1px solid #eee;
}

.task-tab-bar {
  display: flex;
  justify-content: space-around; /* 标签居中平铺 */
  width: 100%;
  padding-left: 0;
}

.task-tab {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
  color: #666;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
}

.task-tab.active {
  font-weight: 600;
  color: #007bff;
  border-color: #007bff;
}


/* 卡片列表 */
.task-card {
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fff;
  transition: 0.3s ease;
  margin-bottom: 15px;
  padding: 0;
}

.task-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.task-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #f8f9fa;
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.task-card .card-body {
  padding: 12px;
  font-size: 14px;
}

.task-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 14px;
}

.task-title {
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.task-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.badge-reward {
  background-color: #ffc107;
  color: #000;
  font-weight: bold;
}

.text-danger {
  font-size: 13px;
}

/* 弹窗样式 */
#previewModal .modal-body img {
  max-width: 100%;
  border: 1px solid #eee;
  border-radius: 5px;
}
