.panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 6px 0 var(--mo);
}

.panel__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 22px;
  font-weight: 900;
}

.panel__num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: var(--line);
  border-radius: 10px;
  background: var(--zhu);
  color: var(--huang);
  font-size: 18px;
  transform: rotate(-6deg);
}

.panel__desc { margin: 0; font-size: 14px; font-weight: 600; opacity: .7; }

/* ---------- 名单 ---------- */
.people {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.person {
  position: relative;
  display: flex;
}

.person__pick {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: var(--line);
  border-radius: 999px;
  background: var(--mi);
  box-shadow: 0 3px 0 var(--mo);
  font-weight: 800;
  cursor: pointer;
  transition: transform .08s, box-shadow .08s, background-color .15s;
}

.person__pick:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--mo); }
.person__pick:focus-visible { outline: 3px dashed var(--zhu); outline-offset: 2px; }

.person__count {
  min-width: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--mo);
  color: var(--huang);
  font-size: 13px;
  line-height: 22px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.person.is-active .person__pick { background: var(--huang); }
.person.is-active .person__pick::before { content: "🪷"; font-size: 15px; }

.person--removable .person__pick { padding-right: 32px; }

.person__remove {
  position: absolute;
  top: 50%;
  right: 6px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  opacity: .45;
  transform: translateY(-50%);
}

.person__remove:hover, .person__remove:focus-visible { opacity: 1; background: rgba(224, 60, 49, .15); outline: none; }

.add-person { display: flex; gap: 8px; }
