/* ============ team ============ */

.team-summary {
  display: flex;
  margin: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 0;
}

.team-summary .ts-item {
  flex: 1;
  text-align: center;
  position: relative;
}

.team-summary .ts-item + .ts-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--line);
}

.team-summary .ts-value {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
}

.team-summary .ts-label {
  font-size: 0.66rem;
  color: var(--text-2);
  margin-top: 2px;
}

.level-card {
  margin: 0 14px 10px;
  padding: 14px;
}

.level-card .lc-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.level-card .lc-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex: none;
}

.level-card .lc-icon.l1 {
  background: linear-gradient(135deg, #FFE9A3, #FFF8D9);
  color: #3d2317;
}

.level-card .lc-icon.l2 {
  background: linear-gradient(135deg, #6b2a00, #b95d00);
  color: #fff;
}

.level-card .lc-icon.l3 {
  background: linear-gradient(135deg, #57421a, #8a6d3b);
  color: #fff;
}

.level-card .lc-info {
  flex: 1;
}

.level-card .lc-name {
  font-size: 0.9rem;
  font-weight: 700;
}

.level-card .lc-sub {
  font-size: 0.68rem;
  color: var(--text-3);
}

.level-card .lc-count {
  text-align: right;
}

.level-card .lc-count .num {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
}

.level-card .lc-count .lbl {
  font-size: 0.66rem;
  color: var(--text-2);
}

.level-bar {
  margin-top: 12px;
  height: 6px;
  border-radius: 3px;
  background: var(--bg-2);
  overflow: hidden;
}

.level-bar .fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.5s;
}

/* team members */
.team-member {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}

.team-member:last-child {
  border-bottom: none;
}

.team-member .tm-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #3d2317;
  flex: none;
}

.team-member .tm-info {
  flex: 1;
}

.team-member .tm-phone {
  font-size: 0.85rem;
  font-weight: 600;
}

.team-member .tm-time {
  font-size: 0.66rem;
  color: var(--text-dim);
}

.team-member .tm-invest {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
}

/* task cards */
.task-card {
  margin: 0 14px 10px;
  padding: 14px;
}

.task-card .tk-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.task-card .tk-title {
  font-size: 0.9rem;
  font-weight: 700;
}

.task-card .tk-reward {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
}

.task-card .tk-progress {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-2);
  margin-top: 8px;
}

.task-card .tk-bar {
  margin-top: 6px;
  height: 6px;
  border-radius: 3px;
  background: var(--bg-2);
  overflow: hidden;
}

.task-card .tk-bar .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 3px;
}

.task-card .tk-claim {
  margin-top: 12px;
}
