/* 空状态 */

.empty-state {
  grid-column: 1 / -1;
  align-self: stretch;
  justify-self: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 32px 16px;
  background: transparent;
  text-align: center;
}

.empty-state__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.empty-state__icon {
  display: block;
  width: 160px;
  height: 160px;
  flex-shrink: 0;
  margin-left: auto;
  margin-right: auto;
}

.empty-state__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  overflow: hidden;
}

.empty-state__title {
  margin: 0;
  width: 100%;
  text-align: center;
  color: var(--text-title, #1f1f1f);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.empty-state__desc {
  margin: 0;
  width: 100%;
  text-align: center;
  color: var(--text-secondary, #525252);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.empty-state__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  padding: 12px 24px;
  border: none;
  border-radius: 999px;
  background: var(--primary, #ec4899);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
}

.empty-state__action:hover {
  filter: brightness(0.96);
}

/* 列表项内嵌空状态 */
li:has(> .empty-state) {
  list-style: none;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  text-align: center;
}

li .empty-state {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
