/* Гороскоп по кличке. Scoped: .cotinder-pet-horoscope / .cotinder-pet-horoscope-wrap */
.cotinder-pet-horoscope {
  box-sizing: border-box;
  margin: 0;
  padding: 14px 16px 16px;
  border: 1px solid #ead9c6;
  border-radius: 14px;
  background: #fff8ef;
}
.cotinder-pet-horoscope *,
.cotinder-pet-horoscope *::before,
.cotinder-pet-horoscope *::after {
  box-sizing: border-box;
}
html body .index__posts > .index__post.cotinder-pet-horoscope-wrap,
html body .cotinder-index-feed .index__posts > .index__post.cotinder-pet-horoscope-wrap,
html body .tabs__content.tabs__content_active .cotinder-index-feed .index__posts > .index__post.cotinder-pet-horoscope-wrap,
html body .index__posts > .index__post.index__post_be-part.cotinder-pet-horoscope-wrap,
.cotinder-index-feed[data-cotinder-feed-tab="last"] .index__posts > .index__post.cotinder-pet-horoscope-wrap {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  overflow: visible !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
@media (max-width: 700px) {
  html body .index__posts > .index__post.cotinder-pet-horoscope-wrap,
  html body .cotinder-index-feed .index__posts > .index__post.cotinder-pet-horoscope-wrap,
  html body .index__posts > .index__post.index__post_be-part.cotinder-pet-horoscope-wrap {
    display: block !important;
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}
.cotinder-pet-horoscope-wrap .cotinder-pet-horoscope {
  display: block;
  margin: 0;
  width: 100%;
}
.cotinder-pet-horoscope__title {
  margin: 0 0 6px;
  font-size: 1.2rem;
  line-height: 1.25;
}
.cotinder-pet-horoscope__lead {
  margin: 0 0 12px;
  color: #555;
  font-size: 0.92rem;
  line-height: 1.4;
}
.cotinder-pet-horoscope__form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-end;
}
.cotinder-pet-horoscope__label {
  flex: 1 1 180px;
  display: grid;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #333;
}
.cotinder-pet-horoscope__label input {
  width: 100%;
  font: inherit;
  font-weight: 400;
  padding: 10px 12px;
  border: 1px solid #d7c4ae;
  border-radius: 10px;
  background: #fff;
}
.cotinder-pet-horoscope__btn {
  appearance: none;
  border: 0;
  border-radius: 10px;
  background: #fd7728;
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 10px 14px;
  cursor: pointer;
  white-space: nowrap;
}
.cotinder-pet-horoscope__err {
  margin: 8px 0 0;
  color: #b42318;
  font-size: 0.88rem;
}
.cotinder-pet-horoscope__out {
  margin-top: 12px;
}
.cotinder-pet-horoscope__period {
  margin: 0 0 8px;
  font-weight: 700;
  color: #2d6a8f;
}
.cotinder-pet-horoscope__tips {
  margin: 0;
  padding: 0 0 0 18px;
  display: grid;
  gap: 8px;
}
.cotinder-pet-horoscope__tips li {
  line-height: 1.4;
  color: #333;
}
.cotinder-pet-horoscope__hook {
  margin: 10px 0 0;
  font-size: 0.86rem;
  color: #6a5340;
}
.cotinder-pet-horoscope.is-folded > .cotinder-pet-horoscope__body,
.cotinder-pet-horoscope.is-folded > :not(.cotinder-pet-horoscope__fold) {
  display: none !important;
}
.cotinder-pet-horoscope.is-folded {
  padding: 8px 14px;
}
.cotinder-pet-horoscope__fold {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 12px;
  margin: 10px 0 0;
}
.cotinder-pet-horoscope.is-folded .cotinder-pet-horoscope__fold {
  justify-content: space-between;
  margin: 0;
}
.cotinder-pet-horoscope__fold-label {
  display: none;
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  color: #333;
}
.cotinder-pet-horoscope.is-folded .cotinder-pet-horoscope__fold-label {
  display: inline;
}
.cotinder-pet-horoscope__fold-btn {
  appearance: none;
  margin: 0;
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: #2d6a8f;
  font: inherit;
  font-size: 0.86rem;
  line-height: 1.3;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.cotinder-pet-horoscope__fold-btn:hover,
.cotinder-pet-horoscope__fold-btn:focus-visible {
  color: #c44e0a;
}
.cotinder-pet-horoscope__share,
.cotinder-pet-horoscope [data-ph-share] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-top: 14px;
}
.cotinder-pet-horoscope__share[hidden],
.cotinder-pet-horoscope [data-ph-share][hidden] {
  display: block !important;
}
.cotinder-pet-horoscope__share-btn {
  appearance: none;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #fd7728;
  border-radius: 10px;
  background: #fff;
  color: #c44e0a;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  visibility: visible !important;
  opacity: 1 !important;
}
.cotinder-pet-horoscope__share-btn:hover,
.cotinder-pet-horoscope__share-btn:focus-visible {
  background: #fff1e6;
}
.cotinder-horoscope-page {
  max-width: 720px;
  margin: 0 auto 32px;
}
.cotinder-horoscope-page__note {
  margin: 0 0 16px;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.45;
}

.pet .cotinder-pet-horoscope--pet,
.cotinder-pet-horoscope--pet {
  display: block;
  margin: 12px 0 16px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  width: 100%;
  max-width: 100%;
}
.cotinder-pet-horoscope--pet > .cotinder-pet-horoscope__share {
  margin-top: 8px;
}
.cotinder-pet-horoscope__details {
  width: 100%;
}
.cotinder-pet-horoscope__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 6px;
  border: 0;
  background: #fd7728;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: none;
}
.cotinder-pet-horoscope__summary::-webkit-details-marker {
  display: none;
}
.cotinder-pet-horoscope__ico {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}
.cotinder-pet-horoscope__summary-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cotinder-pet-horoscope__details[open] .cotinder-pet-horoscope__summary {
  background: #e8681c;
}
.cotinder-pet-horoscope__panel {
  margin-top: 8px;
  padding: 14px 16px 16px;
  border: 1px solid #ead9c6;
  border-radius: 14px;
  background: #fff8ef;
}

@media (max-width: 1024px) {
  .cotinder-pet-horoscope[data-pet-horoscope] .cotinder-pet-horoscope__form {
    flex-direction: column;
    align-items: stretch;
  }
  .cotinder-pet-horoscope[data-pet-horoscope] .cotinder-pet-horoscope__btn {
    width: 100%;
  }
  .cotinder-pet-horoscope-wrap .cotinder-pet-horoscope {
    padding: 12px 12px 14px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .cotinder-pet-horoscope[data-pet-horoscope]:not(.cotinder-pet-horoscope--pet) .cotinder-pet-horoscope__form {
    flex-direction: row;
    align-items: flex-end;
  }
  .cotinder-pet-horoscope[data-pet-horoscope]:not(.cotinder-pet-horoscope--pet) .cotinder-pet-horoscope__btn {
    width: auto;
  }
  .cotinder-pet-horoscope[data-pet-horoscope] .cotinder-pet-horoscope__share-btn {
    width: 100%;
  }
}

@media (min-width: 1200px) {
  .pet .cotinder-pet-horoscope--pet {
    margin: 12px 0 16px;
  }
}
