/* Scoped family tree — do not leak into .pet__top / feed cards */
.cotinder-kinship {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 16px 0 8px;
  padding: 14px 14px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f4f8f3 0%, #fff 72%);
  box-shadow: none;
  border: 1px solid rgba(47, 107, 79, 0.14);
  overflow-x: hidden;
  overflow-y: visible;
}

.cotinder-kinship *,
.cotinder-kinship *::before,
.cotinder-kinship *::after {
  box-sizing: border-box;
}

.cotinder-kinship__demo-banner {
  margin: 0 0 12px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff4d6;
  color: #6a4b00;
  font-size: 12px;
  line-height: 1.4;
}

.cotinder-kinship__demo-banner a {
  color: #c44e0a;
  font-weight: 700;
}

.cotinder-kinship__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-bottom: 10px;
}

.cotinder-kinship__head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.cotinder-kinship__open-btn {
  background: #fd7728;
  color: #fff;
  font-weight: 800;
  min-height: 36px;
  box-shadow: 0 2px 0 rgba(196, 78, 10, 0.28);
}

.cotinder-kinship__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  color: #2d2d2d;
}

.cotinder-kinship__empty {
  margin: 0 0 12px;
  color: #4a4a4a;
  font-size: 14px;
}
.cotinder-kinship.is-public-empty .cotinder-kinship__summary {
  display: block;
}
.cotinder-kinship__empty--public {
  margin: 8px 0 0;
}

.cotinder-kinship__add-btn,
.cotinder-kinship__pick,
.cotinder-kinship__cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 0;
  background: #fd7728;
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.cotinder-kinship__add-btn--ghost {
  background: #fff;
  color: #2f6b4f;
  border: 1px solid rgba(47, 107, 79, 0.28);
}

.cotinder-kinship__cancel {
  background: transparent;
  color: #2f6b4f;
  border: 1px solid rgba(47, 107, 79, 0.28);
}

.cotinder-kinship__perks {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(47, 107, 79, 0.12);
}

.cotinder-kinship__tiers {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin: 0;
  padding: 0;
  list-style: none;
  -webkit-overflow-scrolling: touch;
}

.cotinder-kinship__tiers li {
  flex: 0 0 auto;
  min-width: 112px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f3f3f3;
  color: #6b6b6b;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.cotinder-kinship__tiers li span {
  display: block;
  margin-top: 2px;
  font-weight: 500;
  font-size: 10px;
}

.cotinder-kinship__tiers li.is-on {
  background: #2f6b4f;
  color: #fff;
}

.cotinder-kinship__badge {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: #2f6b4f;
}

.cotinder-kinship__tier-hint {
  margin: 6px 0 0;
  font-size: 12px;
  color: #5a5a5a;
  line-height: 1.4;
}

.cotinder-kinship__tree {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  max-height: min(68vh, 760px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 6px 0 12px;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

.cotinder-kinship__gen {
  position: relative;
  min-width: 0;
  padding: 8px 0 4px;
}

.cotinder-kinship__gen:not(:last-child)::after {
  content: "";
  display: block;
  width: 2px;
  height: 10px;
  margin: 6px auto 0;
  background: rgba(47, 107, 79, 0.22);
  border-radius: 2px;
}

.cotinder-kinship__gen-title {
  margin: 0 0 8px;
  padding: 0;
  border-radius: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5a7460;
  background: transparent;
  box-shadow: none;
}

.cotinder-kinship__bond {
  margin-left: 6px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  font-size: 10px;
  color: #8a8a8a;
}

.cotinder-kinship__lane {
  position: relative;
  min-width: 0;
  max-width: 100%;
}

.cotinder-kinship__lane.is-wide::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 36px;
  height: calc(100% - 8px);
  pointer-events: none;
  background: linear-gradient(90deg, rgba(244, 248, 243, 0), #f4f8f3 88%);
}

.cotinder-kinship__lane.is-scrollable {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cotinder-kinship__lane.is-scrollable::after {
  display: none;
}

.cotinder-kinship__nav {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 48px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(196, 78, 10, 0.4);
  border-radius: 8px;
  background: #fff;
  color: #c44e0a;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.cotinder-kinship__lane.is-scrollable .cotinder-kinship__nav {
  display: inline-flex;
}

.cotinder-kinship__nav--prev {
  order: 1;
}

.cotinder-kinship__lane.is-scrollable .cotinder-kinship__row {
  order: 2;
  flex: 1 1 auto;
  min-width: 0;
}

.cotinder-kinship__nav--next {
  order: 3;
}

.cotinder-kinship__nav:disabled {
  opacity: 0.3;
  cursor: default;
}

.cotinder-kinship__swipe {
  margin-left: 8px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: #8a6a3a;
}

.cotinder-kinship__row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 10px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.cotinder-kinship__gen--self .cotinder-kinship__row {
  justify-content: flex-start;
}

.cotinder-kinship__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 0 0 124px;
  width: 124px;
  max-width: 124px;
  min-width: 124px;
  padding: 10px 8px 8px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(45, 45, 45, 0.12);
  box-shadow: none;
  text-align: center;
  scroll-snap-align: start;
}

.cotinder-kinship__card.is-self {
  flex-basis: 136px;
  width: 136px;
  min-width: 136px;
  max-width: 136px;
  border-color: #fd7728;
  box-shadow: 0 0 0 1px rgba(253, 119, 40, 0.35);
}

.cotinder-kinship__card--empty,
.cotinder-kinship__card--add {
  background: rgba(255, 255, 255, 0.55);
  color: #8a8a8a;
  justify-content: center;
  min-height: 132px;
}

.cotinder-kinship__empty-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px dashed rgba(47, 107, 79, 0.4);
  font-size: 20px;
  line-height: 1;
  color: #2f6b4f;
}

.cotinder-kinship__empty-slot {
  display: block;
  font-size: 10px;
  line-height: 1.3;
  color: #8a6a3a;
}

.cotinder-kinship__card.is-inferred {
  border-style: dashed;
}

.cotinder-kinship__card.is-demo {
  background: #fffdf8;
}

.cotinder-kinship__photo {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  display: block;
  box-shadow: none;
  border: 1px solid rgba(45, 45, 45, 0.08);
}

.cotinder-kinship__card.is-self .cotinder-kinship__photo {
  width: 56px;
  height: 56px;
  flex-basis: 56px;
}

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

.cotinder-kinship__meta {
  min-width: 0;
  width: 100%;
}

.cotinder-kinship__role,
.cotinder-kinship__hint,
.cotinder-kinship__nick {
  display: block;
  font-size: 10px;
  line-height: 1.3;
  color: #6b6b6b;
}

.cotinder-kinship__name {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #2d2d2d;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cotinder-kinship__card-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.cotinder-kinship__card.is-link {
  cursor: pointer;
}

.cotinder-kinship__card.is-link .cotinder-kinship__name {
  color: #c44e0a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cotinder-kinship__card.is-link:hover .cotinder-kinship__name,
.cotinder-kinship__card.is-link:focus-within .cotinder-kinship__name {
  color: #fd7728;
}

.cotinder-kinship__card-bar,
.cotinder-kinship__wish {
  position: relative;
  z-index: 2;
}

.cotinder-kinship__tools {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 2;
  display: flex;
  gap: 4px;
}

.cotinder-kinship__remove,
.cotinder-kinship__share {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: rgba(45, 45, 45, 0.08);
  color: #2d2d2d;
  cursor: pointer;
  line-height: 1;
  font-size: 12px;
  padding: 0;
}

.cotinder-kinship__form {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(47, 107, 79, 0.22);
  display: grid;
  gap: 10px;
}

.cotinder-kinship__label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: #2d2d2d;
}

.cotinder-kinship__label select,
.cotinder-kinship__label input {
  width: 100%;
  max-width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid rgba(45, 45, 45, 0.16);
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
}

.cotinder-kinship__form-hint {
  margin: 0;
  font-size: 12px;
  color: #6b6b6b;
}

.cotinder-kinship__add-tip,
.cotinder-kinship__pet-only {
  flex: 1 1 100%;
  margin: 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff4d6;
  color: #6a4b00;
  font-size: 12px;
  line-height: 1.4;
}

.cotinder-kinship__add-tip strong,
.cotinder-kinship__pet-only strong {
  font-weight: 800;
}

.cotinder-kinship__results {
  display: grid;
  gap: 6px;
}

.cotinder-kinship__pick {
  width: 100%;
  justify-content: flex-start;
  gap: 8px;
  background: #fff;
  color: #2d2d2d;
  border: 1px solid rgba(45, 45, 45, 0.12);
  border-radius: 10px;
  min-height: 44px;
}

.cotinder-kinship__pick img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.cotinder-kinship__pick i {
  font-style: normal;
  font-size: 11px;
  color: #2f6b4f;
}

.cotinder-kinship__msg {
  margin: 8px 0 0;
  font-size: 13px;
  color: #2f6b4f;
}

.cotinder-kinship__msg.is-error {
  color: #b42318;
}

.cotinder-kinship-page {
  min-width: 0;
  max-width: 100%;
}

.cotinder-kinship-page__lead {
  margin: 0 0 16px;
  font-size: 14px;
  color: #4a4a4a;
}

.cotinder-kinship-page__pets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.cotinder-kinship-page__pet {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  padding: 6px 10px 6px 6px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(45, 45, 45, 0.1);
  text-decoration: none;
  color: #2d2d2d;
  font-size: 13px;
}

.cotinder-kinship-page__pet img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.cotinder-kinship-page__pet i {
  font-style: normal;
  font-size: 11px;
  color: #2f6b4f;
}

.cotinder-kinship-page__pet.is-on {
  border-color: #fd7728;
}

@media (max-width: 429px) {
  .cotinder-kinship {
    padding: 12px 10px 14px;
    margin: 12px 0;
  }

  .cotinder-kinship__card,
  .cotinder-kinship__card.is-self {
    flex-basis: 112px;
    width: 112px;
    min-width: 112px;
    max-width: 112px;
  }

  .cotinder-kinship__tree {
    max-height: min(64vh, 640px);
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .cotinder-kinship__card {
    flex-basis: 128px;
    width: 128px;
    min-width: 128px;
    max-width: 128px;
  }
}

@media (min-width: 1200px) {
  .cotinder-kinship__tree {
    max-height: min(70vh, 820px);
  }

  .cotinder-kinship__gen--self .cotinder-kinship__row {
    justify-content: center;
  }
}

.cotinder-kinship__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 12px;
  margin-bottom: 10px;
}

.cotinder-kinship__toggle {
  flex: 1 1 180px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 36px;
  padding: 4px 8px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  text-align: left;
  cursor: pointer;
}

.cotinder-kinship__toggle-mark {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2f6b4f;
  position: relative;
}

.cotinder-kinship__toggle-mark::before,
.cotinder-kinship__toggle-mark::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  top: 10px;
  height: 2px;
  background: #fff;
}

.cotinder-kinship__toggle-mark::after {
  transform: rotate(90deg);
}

.cotinder-kinship.is-open .cotinder-kinship__toggle-mark::after {
  transform: rotate(0deg);
  opacity: 0;
}

.cotinder-kinship__toggle-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.cotinder-kinship__gens {
  font-size: 14px;
  font-weight: 800;
  color: #2f6b4f;
}

.cotinder-kinship__count {
  font-style: normal;
  font-size: 11px;
  color: #6b6b6b;
}

.cotinder-kinship__toggle-label {
  display: none;
}

.cotinder-kinship.is-collapsed .cotinder-kinship__body,
.cotinder-kinship.is-collapsed .cotinder-kinship__perks {
  display: none;
}

.cotinder-kinship__bday {
  display: grid;
  gap: 2px;
  margin-top: 4px;
}

.cotinder-kinship__date {
  display: block;
  font-size: 10px;
  line-height: 1.3;
  color: #2f6b4f;
  white-space: normal;
}

.cotinder-kinship__date.is-empty {
  color: #9a9a9a;
}

.cotinder-kinship__date.is-today,
.cotinder-kinship__date.is-soon {
  font-weight: 800;
  color: #c44e0a;
}

.cotinder-kinship__card.is-bday {
  box-shadow: 0 0 0 2px #fd7728, 0 8px 18px rgba(253, 119, 40, 0.18);
}

.cotinder-kinship__wish {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #fd7728;
  text-decoration: none;
  line-height: 1.25;
}

.cotinder-kinship__wish.is-static {
  color: #8a6a3a;
  font-weight: 600;
}

.cotinder-kinship__card-bar {
  display: flex;
  width: 100%;
  gap: 4px;
  margin-top: 2px;
}

.cotinder-kinship__edit,
.cotinder-kinship__remove {
  flex: 1 1 auto;
  min-height: 26px;
  padding: 0 4px;
  border-radius: 999px;
  border: 0;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.cotinder-kinship__edit {
  background: #eef6ea;
  color: #2f6b4f;
}

.cotinder-kinship__remove {
  background: #fdecec;
  color: #b42318;
  width: auto;
  height: auto;
}

.cotinder-kinship__form-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #2d2d2d;
}

.cotinder-kinship__picked {
  padding: 8px 10px;
  border-radius: 10px;
  background: #eef6ea;
  color: #2f6b4f;
  font-size: 13px;
}

.cotinder-kinship__form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cotinder-kinship__add-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.cotinder-kinship__pick.is-on {
  border-color: #fd7728;
  box-shadow: 0 0 0 1px rgba(253, 119, 40, 0.35);
}

.cotinder-kinship__swipe {
  color: #8a6a3a;
}

.cotinder-kinship__gen--far .cotinder-kinship__gen-title {
  color: #6a7a8a;
}

.cotinder-kinship__gen--far .cotinder-kinship__card {
  background: #f3f5f8;
  border-color: #c5ced8;
}

.cotinder-kinship__gen--far .cotinder-kinship__row {
  gap: 14px;
}

.cotinder-kinship__gen--far:not(:last-child)::after {
  background: #c5ced8;
}

.cotinder-kinship__gen--distant .cotinder-kinship__gen-title {
  color: #5a7460;
}

.cotinder-kinship__gen--distant .cotinder-kinship__card {
  background: #f4f7f2;
  border-color: #b7c9b4;
}

.cotinder-kinship__gen--distant .cotinder-kinship__row {
  gap: 12px;
}

.cotinder-kinship__gen--parents .cotinder-kinship__gen-title {
  color: #2f6b4f;
}

.cotinder-kinship__gen--parents .cotinder-kinship__card {
  background: #fff;
  border-color: #7dae73;
}

.cotinder-kinship__gen--parents .cotinder-kinship__row {
  gap: 10px;
}

.cotinder-kinship__gen--kin {
  padding: 8px 6px 6px;
  border-radius: 12px;
  background: rgba(253, 119, 40, 0.07);
}

.cotinder-kinship__gen--kin .cotinder-kinship__gen-title {
  color: #c44e0a;
}

.cotinder-kinship__gen--kin .cotinder-kinship__bond {
  color: #c44e0a;
}

.cotinder-kinship__gen--kin .cotinder-kinship__card {
  background: #fff8f1;
  border-color: #fd7728;
}

.cotinder-kinship__gen--kin .cotinder-kinship__row {
  gap: 5px;
}

.cotinder-kinship__gen--kin:not(:last-child)::after {
  width: 3px;
  height: 12px;
  background: #fd7728;
}

.cotinder-kinship__gen--close {
  padding: 8px 6px 6px;
  border-radius: 12px;
  background: rgba(253, 119, 40, 0.1);
}

.cotinder-kinship__gen--close .cotinder-kinship__gen-title {
  color: #c44e0a;
}

.cotinder-kinship__gen--close .cotinder-kinship__bond {
  color: #c44e0a;
}

.cotinder-kinship__gen--close .cotinder-kinship__card {
  background: #fff3e8;
  border-color: #fd7728;
}

.cotinder-kinship__gen--close .cotinder-kinship__row {
  gap: 4px;
}

.cotinder-kinship__gen--close:not(:last-child)::after {
  width: 3px;
  height: 10px;
  background: #fd9a5a;
}

.cotinder-kinship__gen--warm .cotinder-kinship__gen-title {
  color: #8a6a3a;
}

.cotinder-kinship__gen--warm .cotinder-kinship__card {
  background: #fff6ea;
  border-color: #e2c08a;
}

.cotinder-kinship__gen--warm .cotinder-kinship__row {
  gap: 8px;
}

.cotinder-kinship__gen--soft .cotinder-kinship__gen-title {
  color: #6a7a8a;
}

.cotinder-kinship__gen--soft .cotinder-kinship__card {
  background: #f7f5f2;
  border-color: #d5cfc6;
}

.cotinder-kinship__gen--soft .cotinder-kinship__row {
  gap: 12px;
}

@media (max-width: 429px) {
  .cotinder-kinship__card,
  .cotinder-kinship__card.is-self {
    flex-basis: 112px;
    width: 112px;
    min-width: 112px;
    max-width: 112px;
  }

  .cotinder-kinship__head-actions {
    width: 100%;
  }

  .cotinder-kinship__add-btn {
    flex: 1 1 auto;
  }

  .cotinder-kinship__toggle {
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .cotinder-kinship__card {
    flex-basis: 128px;
    width: 128px;
    min-width: 128px;
    max-width: 128px;
  }
}

.cotinder-kinship__genes {
  margin: 0 0 12px;
  padding: 12px;
  border-radius: 12px;
  background: #fff8f1;
  border: 1px solid rgba(253, 119, 40, 0.28);
}

.cotinder-kinship__genes-head {
  margin: 0 0 10px;
}

.cotinder-kinship__genes-title {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #c44e0a;
  line-height: 1.3;
}

.cotinder-kinship__genes-lead {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #5a5a5a;
}

.cotinder-kinship__genes-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cotinder-kinship__genes-item {
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(47, 107, 79, 0.12);
}

.cotinder-kinship__genes-item.is-rare {
  border-color: rgba(253, 119, 40, 0.45);
  background: #fffdf8;
}

.cotinder-kinship__genes-kind {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #2f6b4f;
}

.cotinder-kinship__genes-trait {
  display: inline-block;
  margin-right: 8px;
  font-size: 16px;
  font-weight: 800;
  color: #222;
}

.cotinder-kinship__genes-pct {
  font-style: normal;
  font-size: 16px;
  font-weight: 800;
  color: #fd7728;
}

.cotinder-kinship__genes-rare {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #fd7728;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  vertical-align: middle;
}

.cotinder-kinship__genes-bar {
  display: block;
  height: 6px;
  margin: 8px 0 6px;
  border-radius: 99px;
  background: #f0e6dc;
  overflow: hidden;
}

.cotinder-kinship__genes-bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #fd7728, #2f6b4f);
  max-width: 50%;
}

.cotinder-kinship__genes-why,
.cotinder-kinship__genes-hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #5a5a5a;
}

.cotinder-kinship__genes-hint {
  margin-top: 8px;
}

@media (max-width: 429px) {
  .cotinder-kinship__genes {
    padding: 10px;
  }

  .cotinder-kinship__genes-title {
    font-size: 14px;
  }

  .cotinder-kinship__genes-trait,
  .cotinder-kinship__genes-pct {
    font-size: 15px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .cotinder-kinship__genes-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1200px) {
  .cotinder-kinship__genes-list {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
