.zs-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.zs-search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 18px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffdf7;
  box-shadow: 0 6px 20px rgba(33, 36, 31, 0.05);
}

.zs-search-box i,
.zs-search-box svg,
.zs-search-box [data-lucide] {
  width: 20px;
  height: 20px;
  color: var(--muted);
  flex-shrink: 0;
}

.zs-search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.zs-search-box input::placeholder {
  color: var(--muted);
  font-weight: 600;
}

/* 卡片板块 */
.zs-card {
  padding: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(32, 35, 33, 0.08);
  border-radius: 18px;
  background: rgba(255, 253, 247, 0.94);
  box-shadow: 0 10px 28px rgba(33, 36, 31, 0.08);
}

.zs-card-title {
  margin: 0 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--cinnabar);
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
}

.zs-desc {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

/* 生肖选择 */
.zs-zodiac-wrap {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.zs-zodiac-chip {
  min-height: 42px;
  padding: 0 8px;
  border: 1px solid rgba(185, 65, 50, 0.2);
  border-radius: 999px;
  background: rgba(185, 65, 50, 0.06);
  color: var(--cinnabar);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.zs-zodiac-chip:hover {
  background: var(--cinnabar);
  color: #fffdf7;
  border-color: var(--cinnabar);
}

.zs-zodiac-chip.active {
  background: var(--cinnabar);
  color: #fffdf7;
  border-color: var(--cinnabar);
  box-shadow: 0 2px 8px rgba(185, 65, 50, 0.24);
}

/* 热门吉日 */
.zs-chip-wrap {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.zs-chip {
  min-height: 38px;
  padding: 0 8px;
  border: 1px solid rgba(185, 65, 50, 0.2);
  border-radius: 999px;
  background: rgba(185, 65, 50, 0.06);
  color: var(--cinnabar);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.zs-chip:hover {
  background: var(--cinnabar);
  color: #fffdf7;
  border-color: var(--cinnabar);
}

/* 搜索结果列表 */
.zs-result-list {
  display: grid;
  gap: 12px;
}

.zs-result-card {
  display: grid;
  grid-template-columns: 76px 1fr 60px 24px;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(32, 35, 33, 0.08);
  border-radius: 18px;
  background: rgba(255, 253, 247, 0.94);
  box-shadow: 0 6px 20px rgba(33, 36, 31, 0.05);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s, transform 0.15s;
}

.zs-result-card:hover {
  box-shadow: 0 10px 28px rgba(33, 36, 31, 0.1);
  transform: translateY(-2px);
}

.zs-date-badge {
  width: 60px;
  height: 68px;
  border-radius: 14px;
  background: rgba(30, 111, 92, 0.1);
  color: var(--jade);
  text-align: center;
  font-weight: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.zs-date-badge .zs-date-month {
  font-size: 12px;
  line-height: 1;
}

.zs-date-badge .zs-date-day {
  font-size: 22px;
  line-height: 1;
}

.zs-result-main {
  min-width: 0;
}

.zs-result-lunar {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
}

.zs-result-title {
  margin-top: 6px;
  color: var(--cinnabar);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zs-result-sub {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.zs-result-after {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

.zs-result-arrow {
  color: var(--muted);
  font-size: 20px;
  font-weight: 300;
  text-align: right;
}

.zs-empty {
  padding: 48px 18px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: #fffdf7;
  color: var(--muted);
  text-align: center;
}

.zs-loading {
  padding: 40px 18px;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 760px) {
  .zs-zodiac-wrap {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .zs-chip-wrap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .zs-result-card {
    grid-template-columns: 60px 1fr 24px;
    padding: 14px;
    gap: 12px;
  }

  .zs-result-after {
    display: none;
  }

  .zs-date-badge {
    width: 52px;
    height: 60px;
  }

  .zs-date-badge .zs-date-day {
    font-size: 18px;
  }
}
