/* 母龟繁殖奖励说明：选定方案 1，左右标签双行结构。 */
#matingGroupDetailView.mating-directory-mode .female-directory-rulebar .mother-directory-rule--rewards {
  display: grid !important;
  min-height: 0 !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  gap: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid #e5e2d6 !important;
  border-radius: 18px !important;
  color: #1d3150 !important;
  background: #fbfaf5 !important;
  box-shadow: 0 8px 24px rgba(38, 58, 48, 0.055) !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1.42 !important;
}

#matingGroupDetailView.mating-directory-mode .female-directory-rulebar .mother-directory-rule--rewards span {
  width: auto;
  min-width: 0;
  flex: initial;
  padding: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  font-weight: inherit;
}

#matingGroupDetailView.mating-directory-mode .female-directory-rulebar .mother-directory-rule--rewards > .mother-reward-row {
  display: grid !important;
  width: 100% !important;
  min-width: 0;
  min-height: 74px;
  grid-template-columns: 97px minmax(0, 1fr);
  align-items: center;
  gap: 0 !important;
  padding: 10px;
  white-space: normal !important;
}

#matingGroupDetailView.mating-directory-mode .female-directory-rulebar .mother-directory-rule--rewards > .mother-reward-row + .mother-reward-row {
  position: relative;
  border-top: 0;
}

#matingGroupDetailView.mating-directory-mode .female-directory-rulebar .mother-directory-rule--rewards > .mother-reward-row + .mother-reward-row::before {
  content: none !important;
}

#matingGroupDetailView.mating-directory-mode .female-directory-rulebar .mother-directory-rule--rewards > .mother-reward-row + .mother-reward-row::after {
  position: absolute;
  top: 0;
  right: 10px;
  left: 10px;
  height: 1px;
  content: "";
  background: #e6e2d5;
}

#matingGroupDetailView.mating-directory-mode .mother-directory-rule--rewards .mother-reward-label {
  display: flex !important;
  min-width: 0;
  align-items: center;
  align-self: center;
  justify-self: start;
  gap: 4px !important;
  margin-left: 5px;
  padding: 3px 7px 3px 4px !important;
  border: 1px solid #aeb88a !important;
  border-radius: 999px !important;
  color: #36552d !important;
  background: #f2f4e6 !important;
  white-space: nowrap;
}

#matingGroupDetailView.mating-directory-mode .mother-directory-rule--rewards .mother-reward-label-icon {
  display: grid !important;
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px;
  place-items: center;
  padding: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
}

#matingGroupDetailView.mating-directory-mode .mother-directory-rule--rewards .mother-reward-label-icon img {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: contain;
}

#matingGroupDetailView.mating-directory-mode .mother-directory-rule--rewards .mother-reward-row--mating .mother-reward-label-icon img {
  filter: none;
}

#matingGroupDetailView.mating-directory-mode .mother-directory-rule--rewards .mother-reward-row--egg .mother-reward-label-icon img {
  filter: none;
}

#matingGroupDetailView.mating-directory-mode .mother-directory-rule--rewards .mother-reward-label strong {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.01em;
}

#matingGroupDetailView.mating-directory-mode .mother-directory-rule--rewards .mother-reward-copy {
  display: grid;
  min-width: 0;
  min-height: 48px;
  align-content: center;
  gap: 2px;
  margin-left: 0;
  padding-left: 10px;
  border-left: 1px solid #75906c;
}

#matingGroupDetailView.mating-directory-mode .mother-directory-rule--rewards .mother-reward-copy > span {
  display: block;
  white-space: normal !important;
}

#matingGroupDetailView.mating-directory-mode .mother-directory-rule--rewards .mother-reward-equation {
  white-space: nowrap !important;
}

#matingGroupDetailView.mating-directory-mode .mother-directory-rule--rewards .mother-reward-copy b {
  color: #1d3150;
  font-weight: 900;
}

#matingGroupDetailView.mating-directory-mode .mother-directory-rule--rewards .mother-reward-copy em {
  color: #6550e9;
  font-style: normal;
  font-weight: 900;
}

#matingGroupDetailView.mating-directory-mode .mother-directory-rule--rewards .heart {
  color: #e04452;
  font-size: 1.24em;
  line-height: 1;
}

#matingGroupDetailView.mating-directory-mode .mother-directory-rule--rewards .star {
  color: #e5a000;
  font-size: 1.2em;
  line-height: 1;
}

@media (max-width: 640px) {
  #matingGroupDetailView.mating-directory-mode .female-directory-rulebar .mother-directory-rule--rewards {
    font-size: 13px !important;
    line-height: 1.4 !important;
  }

  #matingGroupDetailView.mating-directory-mode .female-directory-rulebar .mother-directory-rule--rewards > .mother-reward-row {
    min-height: 74px;
    grid-template-columns: 97px minmax(0, 1fr);
    padding: 10px;
  }

  #matingGroupDetailView.mating-directory-mode .mother-directory-rule--rewards .mother-reward-label {
    gap: 4px !important;
    padding: 3px 7px 3px 4px !important;
  }

  #matingGroupDetailView.mating-directory-mode .mother-directory-rule--rewards .mother-reward-label-icon {
    width: 22px !important;
    height: 22px !important;
    flex-basis: 22px;
  }

  #matingGroupDetailView.mating-directory-mode .mother-directory-rule--rewards .mother-reward-label-icon img {
    width: 22px;
    height: 22px;
  }

  #matingGroupDetailView.mating-directory-mode .mother-directory-rule--rewards .mother-reward-copy {
    min-height: 48px;
    gap: 2px;
    margin-left: 0;
    padding-left: 10px;
  }
}

@media (max-width: 390px) {
  #matingGroupDetailView.mating-directory-mode .female-directory-rulebar .mother-directory-rule--rewards {
    font-size: 13px !important;
  }

  #matingGroupDetailView.mating-directory-mode .female-directory-rulebar .mother-directory-rule--rewards > .mother-reward-row {
    grid-template-columns: 97px minmax(0, 1fr);
    padding: 10px;
  }

  #matingGroupDetailView.mating-directory-mode .mother-directory-rule--rewards .mother-reward-label {
    gap: 4px !important;
    padding: 3px 7px 3px 4px !important;
  }

  #matingGroupDetailView.mating-directory-mode .mother-directory-rule--rewards .mother-reward-copy {
    margin-left: 0;
    padding-left: 10px;
  }
}
