:root {
  --softlist-bg: #f5f6fb;
  --softlist-card: #ffffff;
  --softlist-border: rgba(15, 30, 75, 0.1);
  --softlist-text: #0f1c2c;
  --softlist-muted: #5d6474;
  --softlist-orange: #ff6a00;
  --softlist-tab-height: 120px;
}

.softlist {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--softlist-bg) 80%);
  margin-top: -90px;
  padding: calc(80px + var(--softlist-tab-height) / 2) 24px 80px;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.softlist-tabs-wrapper {
  display: flex;
  justify-content: center;
  position: fixed;
  left: 0;
  right: 0;
  z-index: 100;
  pointer-events: none;
}

.softlist-tabs-wrapper .softlist-tabs {
  pointer-events: auto;
}

.softlist-tabs {
  display: flex;
  gap: 0;
  width: min(1040px, calc(100% - 48px));
  background: #fff;
  border-radius: 36px;
  border: 1px solid rgba(15, 30, 75, 0.08);
  box-shadow: 0 40px 70px rgba(15, 20, 40, 0.18);
  overflow: hidden;
  min-height: var(--softlist-tab-height);
  align-items: stretch;
}

.softlist-tab {
  flex: 1;
  border: none;
  background: transparent;
  padding: 18px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--softlist-muted);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  border-right: 1px solid rgba(15, 30, 75, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.softlist-tab:last-child {
  border-right: none;
}

.softlist-tab.active {
  background: linear-gradient(135deg, var(--softlist-orange), #ff9c40);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.softlist-panels {
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 60px;
  display: block;
}

.softlist-panel {
  display: none;
  flex-direction: column;
  gap: 32px;
}

.softlist-panel.active {
  display: flex;
}

.soft-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 48px 56px;
  border: none;
  background: transparent;
}

.soft-card:nth-child(even) {
  flex-direction: row-reverse;
  text-align: left;
}

.soft-card__visual {
  position: relative;
  z-index: 1;
  flex: 0 0 42%;
  margin: 0;
  border-radius: 32px;
  overflow: hidden;
  min-height: 260px;
  box-shadow: 0 25px 60px rgba(10, 20, 50, 0.25);
}

.soft-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.soft-card__content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.soft-card__label {
  display: none;
}

.soft-card__header h3 {
  margin: 0 0 20px;
  font-size: 2rem;
  color: var(--softlist-text);
  line-height: 1.3;
}

.soft-card__header h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.soft-card__header h3 a:hover {
  color: var(--softlist-orange);
}

.soft-card__summary {
  margin: 0 0 24px;
  color: var(--softlist-muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.soft-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0 0 28px;
}

.soft-card__meta div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--softlist-text);
}

.soft-card__meta dt {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--softlist-muted);
}

.soft-card__meta dd {
  margin: 0;
}

/* 关键词标签样式 - 与列表页保持一致 */
.soft-card__meta .card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--softlist-orange, #FF6A00);
  font-weight: 600;
}

.soft-card__meta .card-tags span {
  background: rgba(255, 106, 0, 0.1);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.75rem;
  white-space: nowrap;
  color: #FF6A00;
  font-weight: 600;
}


.soft-card__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.soft-card__actions .btn {
  flex: 1;
  min-width: 160px;
  justify-content: center;
}

.soft-card__actions .btn.primary {
  background: linear-gradient(135deg, var(--softlist-orange), #ff9c40);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.soft-card__actions .btn.ghost {
  border: 1px solid rgba(255, 106, 0, 0.4);
  color: var(--softlist-orange);
  border-radius: 999px;
  padding: 14px 28px;
  text-decoration: none;
}

.soft-card__actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 106, 0, 0.25);
}

@media (max-width: 992px) {
  .softlist {
    padding: 120px 16px 60px;
  }

  .soft-card,
  .soft-card:nth-child(even) {
    flex-direction: column;
    text-align: left;
    padding: 32px 28px;
  }

  .soft-card__visual {
    width: 100%;
    flex-basis: auto;
    min-height: 180px;
  }
}

@media (max-width: 600px) {
  .softlist-tabs {
    flex-direction: column;
    border-radius: 24px;
  }

  .softlist-tab {
    border-right: none;
    border-bottom: 1px solid rgba(15, 30, 75, 0.08);
  }

  .softlist-tab:last-child {
    border-bottom: none;
  }

  .soft-card__actions .btn {
    flex: 1 1 100%;
  }
}

