.lifecycle-hero {
  background:
    radial-gradient(920px circle at 14% 20%, rgba(190, 201, 214, 0.35), transparent 55%),
    linear-gradient(180deg, #f7f8fa 0%, #edf1f5 100%);
}

.lifecycle-hero .pwp-page-hero__sub {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.species-switch {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #c8d3df;
  border-radius: 999px;
  padding: 0.2rem;
  gap: 0.2rem;
}

.species-pill {
  min-width: 92px;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  text-align: center;
  color: #1e3245;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.species-pill:hover {
  text-decoration: none;
  color: #1e3245;
  background: #e9eff5;
  transform: translateY(-1px);
}

.species-pill.is-active {
  background: #1f6d9d;
  color: #fff;
  box-shadow: 0 8px 16px rgba(21, 70, 103, 0.2);
}

.lifecycle-shell {
  margin-top: 0.5rem;
}

.lifecycle-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
}

.lifecycle-stage-grid {
  margin-bottom: 1.25rem;
}

.lifecycle-stage-card {
  width: 100%;
  border: 1px solid #d4dde7;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lifecycle-stage-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.lifecycle-stage-card:focus-visible {
  outline: 3px solid #3a7fc4;
  outline-offset: 1px;
}

.lifecycle-stage-card.is-active {
  border-color: #3a7fc4;
  box-shadow: 0 12px 26px rgba(28, 90, 143, 0.2);
}

.stage-number {
  width: 36px;
  height: 36px;
  margin: 0.8rem 0 0 0.8rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  background: #3a7fc4;
}

.lifecycle-shell.species-cat .stage-number {
  background: #2d8a58;
}

.lifecycle-stage-icon {
  width: 100%;
  height: 165px;
  object-fit: contain;
  padding: 0.5rem 1rem 0.25rem;
  background: linear-gradient(180deg, #f9fbfd 0%, #ffffff 100%);
}

.lifecycle-panels {
  display: grid;
  gap: 1rem;
}

.lifecycle-stage-panel .card {
  border-left: 5px solid #3a7fc4;
}

.lifecycle-shell.species-cat .lifecycle-stage-panel .card {
  border-left-color: #2d8a58;
}

.stage-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  background: #e9f2fb;
  color: #245178;
}

.lifecycle-shell.species-cat .stage-tag {
  background: #e9f7ef;
  color: #215f3e;
}

.lifecycle-bullets {
  padding-left: 1.25rem;
}

.lifecycle-bullets li {
  margin-bottom: 0.35rem;
}

.lifecycle-main-image,
.lifecycle-inline-image {
  border: 1px solid #dbe5ee;
}

@media (min-width: 768px) {
  .lifecycle-hero .pwp-page-hero__sub {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 767.98px) {
  .lifecycle-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .lifecycle-toolbar .btn {
    min-height: 44px;
  }

  .species-pill {
    min-width: 88px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .lifecycle-stage-icon {
    height: 140px;
  }
}
